@ApplicationScoped public class JdbcAuthenticator extends DatabaseAuthenticator
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"/>
_cookieDomain, _cookieMaxAge, _cookieVersion, _useCookie_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm, NULL_USER| Constructor and Description |
|---|
JdbcAuthenticator() |
addAuthCookie, associateCookie, authenticate, authenticate, authenticateByCookie, getCookieAuthQuery, getCookieAuthUpdate, getCookieDomain, getCookieMaxAge, getCookieVersion, getDataSource, getPasswordQuery, getPasswordUser, getRoleQuery, getUseCookie, init, isCookieSupported, isUserInRole, loginImpl, setCookieAuthQuery, setCookieAuthUpdate, setCookieDomain, setCookieLogout, setCookieMaxAge, setCookieVersion, setDataSource, setPasswordQuery, setRoleQuery, setUseCookieaddRoleMapping, authenticate, authenticate, authenticate, authenticate, digest, getAlgorithm, getDigest, getDigestSecret, getDigestSecret, getLogoutOnSessionTimeout, getPasswordDigest, getPasswordDigest, getPasswordDigestAlgorithm, getPasswordDigestRealm, getPasswordUser, getSingleSignon, logout, setLogoutOnSessionTimeout, setPasswordDigest, setPasswordDigestAlgorithm, setPasswordDigestRealm, setSerializationHandle, stringToDigest, toString, writeReplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitauthenticate, getAlgorithm, logout