| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final LanguageConnectionContext | |
| private static final int | |
| private static final int | |
| pack-priv boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | authorize(int
the enumeration code for the requsted operation. operation)Implements org. Used for operations that do not involve tables or routines. |
| public void | authorize(Activation
holds the list of tables, columns, and routines used. activation, int the enumeration code for the requsted operation. operation)Implements org. 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)Implements org. Verify the connected user possesses the indicated permissions |
| private boolean | |
| private static StandardException | externalRoutineException(int operation, int sqlAllowed)
Throw an exception if the user does not have all of the required permissions. |
| private int | |
| private void | |
| public boolean | isReadOnlyConnection()
Implements org. Get the readOnly status for this authorizer's connection. |
| public final void | refresh()
Implements org. Refresh this authorizer to reflect a change in the database permissions. |
| 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)Implements org. Set the readOnly status for this authorizer's connection. |
| private boolean |
| FULL_ACCESS | back to summary |
|---|---|
| private static final int FULL_ACCESS | |
| lcc | back to summary |
|---|---|
| private final LanguageConnectionContext lcc | |
| NO_ACCESS | back to summary |
|---|---|
| private static final int NO_ACCESS | |
| READ_ACCESS | back to summary |
|---|---|
| private static final int READ_ACCESS | |
| readOnlyConnection | back to summary |
|---|---|
| pack-priv boolean readOnlyConnection | |
| userAccessLevel | back to summary |
|---|---|
| private int userAccessLevel | |
| GenericAuthorizer | back to summary |
|---|---|
| pack-priv GenericAuthorizer(LanguageConnectionContext lcc) throws StandardException | |
| authorize | back to summary |
|---|---|
| public void authorize(int operation) throws StandardException Implements org. Used for operations that do not involve tables or routines.
| |
| authorize | back to summary |
|---|---|
| public void authorize(Activation activation, int operation) throws StandardException Implements org. Doc from org. 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 Implements org. Doc from org. Verify the connected user possesses the indicated permissions
| |
| connectionMustRemainReadOnly | back to summary |
|---|---|
| private boolean connectionMustRemainReadOnly() | |
| externalRoutineException | back to summary |
|---|---|
| private static StandardException externalRoutineException(int operation, int sqlAllowed) Throw an exception if the user does not have all of the required permissions. | |
| getDefaultAccessLevel | back to summary |
|---|---|
| private int getDefaultAccessLevel() throws StandardException | |
| getUserAccessLevel | back to summary |
|---|---|
| private void getUserAccessLevel() throws StandardException | |
| isReadOnlyConnection | back to summary |
|---|---|
| public boolean isReadOnlyConnection() Implements org. Doc from org. Get the readOnly status for this authorizer's connection.
| |
| refresh | back to summary |
|---|---|
| public final void refresh() throws StandardException Implements org. Doc from org. Refresh this authorizer to reflect a change in the database permissions.
| |
| setReadOnlyConnection | back to summary |
|---|---|
| public void setReadOnlyConnection(boolean on, boolean authorize) throws StandardException Implements org. Doc from org. Set the readOnly status for this authorizer's connection.
| |
| userOnAccessList | back to summary |
|---|---|
| private boolean userOnAccessList(String listName) throws StandardException | |