Class DbAclWriteServer
java.lang.Object
com.fishlib.util.process.OnetimeShutdownTask
com.illumon.iris.db.v2.permissions.DbAclWriteServer
- All Implemented Interfaces:
com.fishlib.util.process.ShutdownManager.Task
public class DbAclWriteServer
extends com.fishlib.util.process.OnetimeShutdownTask
Simple server that takes commands from an ACL editor and turns them into SQL updates. The idea is to let us limit
read/write SQL connections to just this server.
-
Field Summary
Fields Modifier and Type Field Description static intADD_ACLstatic intADD_COLUMN_ACLstatic intADD_GROUP_STRATEGYstatic intADD_INPUT_TABLE_EDITORstatic intADD_MEMBERstatic intADD_PUBLIC_KEY_FOR_USERstatic intADD_STRATEGY_ACCOUNTstatic intADD_SYSTEM_ACLstatic intADD_SYSTEM_USER_ACLstatic intADD_USERstatic intCHANGE_PASSWORDstatic intDELETE_ACLstatic intDELETE_ALL_ACLstatic intDELETE_COLUMN_ACLstatic intDELETE_GROUPstatic intDELETE_GROUP_STRATEGYstatic intDELETE_INPUT_TABLE_EDITORstatic intDELETE_PUBLIC_KEYstatic intDELETE_STRATEGY_ACCOUNTstatic intDELETE_SYSTEM_ACLstatic intDELETE_SYSTEM_USER_ACLstatic intDELETE_USERstatic StringHOSTstatic StringNAMEstatic intPLAINTEXT_PORTstatic intREMOVE_MEMBERstatic intSSL_PORTstatic intUPDATE_ACLstatic intUPDATE_COLUMN_ACLstatic intUPDATE_INPUT_TABLE_EDITORstatic intUPDATE_SYSTEM_ACLstatic booleanUSE_SSLstatic StringWEBSOCKET_PORT_PROP -
Method Summary
-
Field Details
-
NAME
-
HOST
-
PLAINTEXT_PORT
public static final int PLAINTEXT_PORT -
SSL_PORT
public static final int SSL_PORT -
USE_SSL
public static final boolean USE_SSL -
WEBSOCKET_PORT_PROP
- See Also:
- Constant Field Values
-
ADD_MEMBER
public static final int ADD_MEMBER- See Also:
- Constant Field Values
-
REMOVE_MEMBER
public static final int REMOVE_MEMBER- See Also:
- Constant Field Values
-
DELETE_GROUP
public static final int DELETE_GROUP- See Also:
- Constant Field Values
-
DELETE_USER
public static final int DELETE_USER- See Also:
- Constant Field Values
-
ADD_GROUP_STRATEGY
public static final int ADD_GROUP_STRATEGY- See Also:
- Constant Field Values
-
DELETE_GROUP_STRATEGY
public static final int DELETE_GROUP_STRATEGY- See Also:
- Constant Field Values
-
ADD_STRATEGY_ACCOUNT
public static final int ADD_STRATEGY_ACCOUNT- See Also:
- Constant Field Values
-
DELETE_STRATEGY_ACCOUNT
public static final int DELETE_STRATEGY_ACCOUNT- See Also:
- Constant Field Values
-
ADD_ACL
public static final int ADD_ACL- See Also:
- Constant Field Values
-
UPDATE_ACL
public static final int UPDATE_ACL- See Also:
- Constant Field Values
-
DELETE_ACL
public static final int DELETE_ACL- See Also:
- Constant Field Values
-
ADD_INPUT_TABLE_EDITOR
public static final int ADD_INPUT_TABLE_EDITOR- See Also:
- Constant Field Values
-
UPDATE_INPUT_TABLE_EDITOR
public static final int UPDATE_INPUT_TABLE_EDITOR- See Also:
- Constant Field Values
-
DELETE_INPUT_TABLE_EDITOR
public static final int DELETE_INPUT_TABLE_EDITOR- See Also:
- Constant Field Values
-
ADD_USER
public static final int ADD_USER- See Also:
- Constant Field Values
-
CHANGE_PASSWORD
public static final int CHANGE_PASSWORD- See Also:
- Constant Field Values
-
ADD_SYSTEM_ACL
public static final int ADD_SYSTEM_ACL- See Also:
- Constant Field Values
-
UPDATE_SYSTEM_ACL
public static final int UPDATE_SYSTEM_ACL- See Also:
- Constant Field Values
-
DELETE_SYSTEM_ACL
public static final int DELETE_SYSTEM_ACL- See Also:
- Constant Field Values
-
ADD_COLUMN_ACL
public static final int ADD_COLUMN_ACL- See Also:
- Constant Field Values
-
UPDATE_COLUMN_ACL
public static final int UPDATE_COLUMN_ACL- See Also:
- Constant Field Values
-
DELETE_COLUMN_ACL
public static final int DELETE_COLUMN_ACL- See Also:
- Constant Field Values
-
ADD_SYSTEM_USER_ACL
public static final int ADD_SYSTEM_USER_ACL- See Also:
- Constant Field Values
-
DELETE_SYSTEM_USER_ACL
public static final int DELETE_SYSTEM_USER_ACL- See Also:
- Constant Field Values
-
ADD_PUBLIC_KEY_FOR_USER
public static final int ADD_PUBLIC_KEY_FOR_USER- See Also:
- Constant Field Values
-
DELETE_PUBLIC_KEY
public static final int DELETE_PUBLIC_KEY- See Also:
- Constant Field Values
-
DELETE_ALL_ACL
public static final int DELETE_ALL_ACL- See Also:
- Constant Field Values
-
-
Method Details
-
shutdown
public void shutdown()- Specified by:
shutdownin classcom.fishlib.util.process.OnetimeShutdownTask
-
main
public static void main(String[] args) throws IOException, ClassNotFoundException, InterruptedException
-