|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.security.AbstractAuthenticator
com.caucho.security.AbstractCookieAuthenticator
com.caucho.security.DatabaseAuthenticator
com.caucho.security.JdbcAuthenticator
@ApplicationScoped public class JdbcAuthenticator
An authenticator using JDBC.
The default table schema looks something like:
CREATE TABLE LOGIN ( username VARCHAR(250) NOT NULL, password VARCHAR(250), cookie VARCHAR(250), PRIMARY KEY (username) );
<security:JdbcAuthenticator data-source="jdbc/user"/>
| Field Summary |
|---|
| Fields inherited from class com.caucho.security.DatabaseAuthenticator |
|---|
_cookieDomain, _cookieMaxAge, _cookieVersion, _useCookie |
| Fields inherited from class com.caucho.security.AbstractAuthenticator |
|---|
_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm |
| Constructor Summary | |
|---|---|
JdbcAuthenticator()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.caucho.security.Authenticator |
|---|
authenticate, getAlgorithm, logout |
| Constructor Detail |
|---|
public JdbcAuthenticator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||