HsqldbSlaveAuthBean
, JaasAuthBean
, LdapAuthBean
public interface AuthFunctionBean
for how these beans are used.
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
authenticate(java.lang.String userName,
java.lang.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.
|
java.lang.String[] authenticate(java.lang.String userName, java.lang.String password) throws java.lang.Exception
java.lang.Exception
- If user should not be allowed access to the specified
database. Other registed AuthFunctionBeans will not be attempted.java.lang.RuntimeException
- Upon system problem. The exception will be
logged to the HyperSQL application logger and other registered
AuthFunctionBeans (if any) will be attempted.Copyright �� 2001 - 2013 HSQL Development Group.