public class ExtendedFormAuthenticator
extends org.apache.catalina.authenticator.FormAuthenticator
| Modifier and Type | Field and Description |
|---|---|
static String |
DID_POPULATE |
static String |
LOGIN_EXCEPTION |
characterEncoding, info, landingPageAUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, lifecycle, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started| Constructor and Description |
|---|
ExtendedFormAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config)
Authenticate the user making this request, based on the specified login configuration.
|
protected void |
forwardToErrorPage(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config)
Dispatch to the form error-page
|
protected void |
forwardToLoginPage(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config)
Dispatch to the form login-page
|
boolean |
isIncludePassword() |
protected void |
populateSession(org.apache.catalina.connector.Request request)
Populates the session the request belongs to with authentication data as described above.
|
void |
setIncludePassword(boolean includePassword) |
getCharacterEncoding, getInfo, getLandingPage, matchRequest, restoreRequest, savedRequestURL, saveRequest, setCharacterEncoding, setLandingPageaddLifecycleListener, associate, authenticate, findLifecycleListeners, generateSessionId, getCache, getContainer, getDisableProxyCaching, getSecurePagesWithPragma, invoke, isChangeSessionIdOnAuthentication, login, logout, reauthenticateFromSSO, register, removeLifecycleListener, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, start, stop, unregisterpublic static final String LOGIN_EXCEPTION
public static final String DID_POPULATE
public boolean isIncludePassword()
public void setIncludePassword(boolean includePassword)
public boolean authenticate(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config)
throws IOException
true if any
specified constraint has been satisfied, or false if we have created a response challenge already.authenticate in class org.apache.catalina.authenticator.FormAuthenticatorrequest - Request we are processingresponse - Response we are creatingconfig - Login configuration describing how authentication should be performedIOException - if an input/output error occursprotected void forwardToErrorPage(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config)
throws IOException
forwardToErrorPage in class org.apache.catalina.authenticator.FormAuthenticatorrequest - Request we are processingresponse - Response we are creatingconfig - Login configuration describing how authentication should be performedIOExceptionprotected void forwardToLoginPage(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config)
throws IOException
forwardToLoginPage in class org.apache.catalina.authenticator.FormAuthenticatorrequest - Request we are processingresponse - Response we are creatingconfig - Login configuration describing how authentication should be performedIOExceptionprotected void populateSession(org.apache.catalina.connector.Request request)
request - Request we are processingCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.