| Access | Constructor and Description |
|---|---|
| public | CreateRoleConstantAction(String
The name of the role being created roleName)Make the ConstantAction for a CREATE ROLE statement. |
| Modifier and Type | Method and Description |
|---|---|
| public void | executeConstantAction(Activation
The execution environment for this constant action. activation)Implements org. This is the guts of the Execution-time logic for CREATE ROLE. |
| private boolean | knownUser(String roleName, String currentUser, LanguageConnectionContext lcc, DataDictionary dd, TransactionController tc)
Heuristically, try to determine is a proposed role identifier is already known to Derby as a user name. |
| public String |
| roleName | back to summary |
|---|---|
| private String roleName | |
| CreateRoleConstantAction | back to summary |
|---|---|
| public CreateRoleConstantAction(String roleName) Make the ConstantAction for a CREATE ROLE statement. When executed, will create a role by the given name.
| |
| executeConstantAction | back to summary |
|---|---|
| public void executeConstantAction(Activation activation) throws StandardException Implements org. This is the guts of the Execution-time logic for CREATE ROLE.
| |
| knownUser | back to summary |
|---|---|
| private boolean knownUser(String roleName, String currentUser, LanguageConnectionContext lcc, DataDictionary dd, TransactionController tc) throws StandardException Heuristically, try to determine is a proposed role identifier is already known to Derby as a user name. Method: If BUILTIN authentication is used, check if there is such a user. If external authentication is used, we lose. If there turns out to be collision, and we can't detect it here, we should block such a user from connecting (FIXME), since there is now a role with that name. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |