public class PicketLinkAuthenticator
extends org.apache.catalina.authenticator.FormAuthenticator
| Modifier and Type | Field and Description |
|---|---|
protected String |
authMethod
This is the auth method used in the register method
|
protected static Logger |
log |
protected boolean |
needSubjectPrincipalSubstitution
The authenticator may not be aware of the user name until after the underlying security exercise is complete.
|
protected SubjectSecurityInteraction |
subjectInteraction |
protected String |
subjectInteractionClassName |
protected boolean |
trace |
characterEncoding, info, landingPageAUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, lifecycle, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started| Constructor and Description |
|---|
PicketLinkAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(HttpServletRequest request,
HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig loginConfig) |
boolean |
authenticate(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response,
org.apache.catalina.deploy.LoginConfig loginConfig) |
protected Principal |
getSubjectPrincipal() |
void |
setAuthMethod(String authMethod)
Set the auth method via WEB-INF/context.xml (JBoss AS)
|
void |
setNeedSubjectPrincipalSubstitution(String needSubjectPrincipalSubstitutionVal) |
void |
setSubjectInteractionClassName(String subjectRetrieverClassName)
Set this if you want to override the default
SubjectSecurityInteraction |
authenticate, forwardToErrorPage, forwardToLoginPage, 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, unregisterprotected static Logger log
protected boolean trace
protected String authMethod
protected boolean needSubjectPrincipalSubstitution
protected SubjectSecurityInteraction subjectInteraction
protected String subjectInteractionClassName
public void setAuthMethod(String authMethod)
authMethod - public void setNeedSubjectPrincipalSubstitution(String needSubjectPrincipalSubstitutionVal)
public void setSubjectInteractionClassName(String subjectRetrieverClassName)
SubjectSecurityInteractionsubjectRetrieverClassName - public boolean authenticate(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response,
org.apache.catalina.deploy.LoginConfig loginConfig)
throws IOException
IOExceptionpublic boolean authenticate(HttpServletRequest request, HttpServletResponse response, org.apache.catalina.deploy.LoginConfig loginConfig) throws IOException
IOExceptionprotected Principal getSubjectPrincipal()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.