AuthFunctionBean
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| protected boolean | |
| private static FrameworkLogger | |
| private String | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | authenticate(String userName, String password)
Implements org. Return a list of authorized roles or null to indicate that the implementation does not intend to produce a specific role list but only to indicate whether to allow access or not. |
| public void | |
| public void | |
| public void | |
| public void | setValidationPassword(String
String validationPassword)Use this method and setValidationUser if you want access to the master database to be verified upon instance initialization. |
| public void | setValidationUser(String
String validationUser)Use this method and setValidationPassword if you want access to the master database to be verified upon instance initialization. |
| delegateRolesSchema | back to summary |
|---|---|
| private boolean delegateRolesSchema | |
| initialized | back to summary |
|---|---|
| protected boolean initialized | |
| logger | back to summary |
|---|---|
| private static FrameworkLogger logger | |
| masterJdbcUrl | back to summary |
|---|---|
| private String masterJdbcUrl | |
| validationPassword | back to summary |
|---|---|
| private String validationPassword | |
| validationUser | back to summary |
|---|---|
| private String validationUser | |
| HsqldbSlaveAuthBean | back to summary |
|---|---|
| public HsqldbSlaveAuthBean() | |
| authenticate | back to summary |
|---|---|
| public String[] authenticate(String userName, String password) throws DenyException Implements org. Doc from org. Return a list of authorized roles or null to indicate that the implementation does not intend to produce a specific role list but only to indicate whether to allow access or not. A return value of String[0] is different from returning null, and means that the user should not be granted any roles. | |
| init | back to summary |
|---|---|
public void init() throws SQLException
| |
| setDelegateRolesSchema | back to summary |
|---|---|
| public void setDelegateRolesSchema(boolean doDelegateRolesSchema) Defaults to true. Whether roles and initial schema for the new session will be determined by what they are for this user in the master database.
| |
| setMasterJdbcUrl | back to summary |
|---|---|
| public void setMasterJdbcUrl(String masterJdbcUrl) | |
| setValidationPassword | back to summary |
|---|---|
| public void setValidationPassword(String validationPassword) Use this method and setValidationUser if you want access to the master database to be verified upon instance initialization.
| |
| setValidationUser | back to summary |
|---|---|
| public void setValidationUser(String validationUser) Use this method and setValidationPassword if you want access to the master database to be verified upon instance initialization.
| |