public class HsqldbSlaveAuthBean extends Object implements AuthFunctionBean
AuthFunctionBean| Constructor and Description | 
|---|
| HsqldbSlaveAuthBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | authenticate(String userName,
            String password)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. | 
| void | init() | 
| void | setDelegateRolesSchema(boolean doDelegateRolesSchema)Defaults to true. | 
| void | setMasterJdbcUrl(String masterJdbcUrl) | 
| void | setValidationPassword(String validationPassword)Use this method and setValidationUser if you want access to the
 master database to be verified upon instance initialization. | 
| void | setValidationUser(String validationUser)Use this method and setValidationPassword if you want access to the
 master database to be verified upon instance initialization. | 
public void setValidationUser(String validationUser)
public void setValidationPassword(String validationPassword)
public void setMasterJdbcUrl(String masterJdbcUrl)
public void setDelegateRolesSchema(boolean doDelegateRolesSchema)
public void init()
          throws SQLException
IllegalStateException - if any required setting has not been set.SQLException - if properties 'validationUser' and
    'validationPassword' have been set, but we fail to connect to the
    master database.public String[] authenticate(String userName, String password) throws org.hsqldb.auth.DenyException
AuthFunctionBeanauthenticate in interface AuthFunctionBeanuserName - Stringpassword - Stringorg.hsqldb.auth.DenyExceptionAuthFunctionBean.authenticate(String, String)Copyright © 2001 - 2017 HSQL Development Group.