Today no object based authorization is supported.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | JAR_WRITE_OP
database jar write operation |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | PROPERTY_WRITE_OP
database property write operation |
| public static final String | PUBLIC_AUTHORIZATION_ID
The public authorization ID is defined by the SQL2003 spec as implying all users. |
| public static final int | |
| public static final int | |
| public static final int | SQL_ARBITARY_OP
Any other SQL operation |
| public static final int | SQL_CALL_OP
SQL CALL/VALUE operation |
| public static final int | SQL_DDL_OP
SQL DDL operation |
| public static final int | SQL_SELECT_OP
SQL SELECT operation |
| public static final int | SQL_WRITE_OP
SQL write (insert,update,delete) operation |
| public static final String | SYSTEM_AUTHORIZATION_ID
The system authorization ID is defined by the SQL2003 spec as the grantor of privileges to object owners. |
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public void | authorize(int
the enumeration code for the requsted operation. operation)Verify the connected user is authorized to perform the requested operation. |
| public void | authorize(Activation
holds the list of tables, columns, and routines used. activation, int the enumeration code for the requsted operation. operation)Verify the connected user is authorized to perform the requested operation. |
| public void | authorize(List<StatementPermission>
the required permissions requiredPermissionsList, Activation holds the execution logic activation)Verify the connected user possesses the indicated permissions |
| public boolean | |
| public void | |
| public void | setReadOnlyConnection(boolean
true means set the connection to read only mode,
false means set the connection to read wrte mode. on, boolean true means to verify the caller has authority
to set the connection and false means do not check. authorize)Set the readOnly status for this authorizer's connection. |
| CREATE_ROLE_PRIV | back to summary |
|---|---|
| public static final int CREATE_ROLE_PRIV | |
| CREATE_SCHEMA_PRIV | back to summary |
|---|---|
| public static final int CREATE_SCHEMA_PRIV | |
| DELETE_PRIV | back to summary |
|---|---|
| public static final int DELETE_PRIV | |
| DROP_ROLE_PRIV | back to summary |
|---|---|
| public static final int DROP_ROLE_PRIV | |
| DROP_SCHEMA_PRIV | back to summary |
|---|---|
| public static final int DROP_SCHEMA_PRIV | |
| EXECUTE_PRIV | back to summary |
|---|---|
| public static final int EXECUTE_PRIV | |
| INSERT_PRIV | back to summary |
|---|---|
| public static final int INSERT_PRIV | |
| JAR_WRITE_OP | back to summary |
|---|---|
| public static final int JAR_WRITE_OP database jar write operation | |
| MIN_SELECT_PRIV | back to summary |
|---|---|
| public static final int MIN_SELECT_PRIV | |
| MODIFY_SCHEMA_PRIV | back to summary |
|---|---|
| public static final int MODIFY_SCHEMA_PRIV | |
| NULL_PRIV | back to summary |
|---|---|
| public static final int NULL_PRIV | |
| PRIV_TYPE_COUNT | back to summary |
|---|---|
| public static final int PRIV_TYPE_COUNT | |
| PROPERTY_WRITE_OP | back to summary |
|---|---|
| public static final int PROPERTY_WRITE_OP database property write operation | |
| PUBLIC_AUTHORIZATION_ID | back to summary |
|---|---|
| public static final String PUBLIC_AUTHORIZATION_ID The public authorization ID is defined by the SQL2003 spec as implying all users. | |
| REFERENCES_PRIV | back to summary |
|---|---|
| public static final int REFERENCES_PRIV | |
| SELECT_PRIV | back to summary |
|---|---|
| public static final int SELECT_PRIV | |
| SQL_ARBITARY_OP | back to summary |
|---|---|
| public static final int SQL_ARBITARY_OP Any other SQL operation | |
| SQL_CALL_OP | back to summary |
|---|---|
| public static final int SQL_CALL_OP SQL CALL/VALUE operation | |
| SQL_DDL_OP | back to summary |
|---|---|
| public static final int SQL_DDL_OP SQL DDL operation | |
| SQL_SELECT_OP | back to summary |
|---|---|
| public static final int SQL_SELECT_OP SQL SELECT operation | |
| SQL_WRITE_OP | back to summary |
|---|---|
| public static final int SQL_WRITE_OP SQL write (insert,update,delete) operation | |
| SYSTEM_AUTHORIZATION_ID | back to summary |
|---|---|
| public static final String SYSTEM_AUTHORIZATION_ID The system authorization ID is defined by the SQL2003 spec as the grantor of privileges to object owners. | |
| TRIGGER_PRIV | back to summary |
|---|---|
| public static final int TRIGGER_PRIV | |
| UPDATE_PRIV | back to summary |
|---|---|
| public static final int UPDATE_PRIV | |
| USAGE_PRIV | back to summary |
|---|---|
| public static final int USAGE_PRIV | |
| authorize | back to summary |
|---|---|
| public void authorize(int operation) throws StandardException Verify the connected user is authorized to perform the requested operation. This variation should only be used with operations that do not use tables or routines. If the operation involves tables or routines then use the variation of the authorize method that takes an Activation parameter. The activation holds the table, column, and routine lists.
| |
| authorize | back to summary |
|---|---|
| public void authorize(Activation activation, int operation) throws StandardException Verify the connected user is authorized to perform the requested operation.
| |
| authorize | back to summary |
|---|---|
| public void authorize(List<StatementPermission> requiredPermissionsList, Activation activation) throws StandardException Verify the connected user possesses the indicated permissions
| |
| isReadOnlyConnection | back to summary |
|---|---|
| public boolean isReadOnlyConnection() Get the readOnly status for this authorizer's connection. | |
| refresh | back to summary |
|---|---|
| public void refresh() throws StandardException Refresh this authorizer to reflect a change in the database permissions.
| |
| setReadOnlyConnection | back to summary |
|---|---|
| public void setReadOnlyConnection(boolean on, boolean authorize) throws StandardException Set the readOnly status for this authorizer's connection.
| |