public abstract class AbstractAuthenticator
extends org.apache.catalina.authenticator.AuthenticatorBase
implements org.apache.catalina.LifecycleListener
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
alwaysUseSession, AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, info, REALM_NAME, securePagesWithPragma, secureRandomAlgorithm, secureRandomClass, secureRandomProvider, sessionIdGenerator, sm, sso
asyncSupported, container, containerLog, next
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
Constructor and Description |
---|
AbstractAuthenticator() |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig loginConfig) |
protected abstract String |
getArtifactParameterName()
Abstract method that subclasses should use to provide the name of the artifact parameter (i.e.
|
protected abstract String |
getAuthenticationMethod() |
protected String |
getAuthMethod()
Provided for Tomcat 7.0.8 support.
|
protected String |
getCasServerUrlPrefix() |
protected String |
getEncoding() |
String |
getInfo() |
protected abstract String |
getName() |
protected abstract String |
getServiceParameterName()
Abstract method that subclasses should use to provide the name of the service parameter (i.e.
|
protected abstract TicketValidator |
getTicketValidator()
Returns the single instance of the ticket validator to use to validate tickets.
|
boolean |
isEncode() |
protected boolean |
isRenew() |
void |
lifecycleEvent(org.apache.catalina.LifecycleEvent event) |
void |
setCasServerLoginUrl(String casServerLoginUrl) |
void |
setCasServerUrlPrefix(String casServerUrlPrefix) |
void |
setEncode(boolean encode) |
void |
setEncoding(String encoding) |
void |
setRenew(boolean renew) |
void |
setServerName(String serverName) |
void |
setServiceUrl(String serviceUrl) |
protected void |
setState(org.apache.catalina.LifecycleState state,
Object data) |
protected void |
startInternal() |
associate, authenticate, doLogin, getAlwaysUseSession, getCache, getChangeSessionIdOnAuthentication, getContainer, getDisableProxyCaching, getSecurePagesWithPragma, getSecureRandomAlgorithm, getSecureRandomClass, getSecureRandomProvider, invoke, login, logout, reauthenticateFromSSO, register, setAlwaysUseSession, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, setSecureRandomAlgorithm, setSecureRandomClass, setSecureRandomProvider, stopInternal
backgroundProcess, event, getDomainInternal, getNext, getObjectNameKeyProperties, initInternal, isAsyncSupported, setAsyncSupported, setNext, toString
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister
protected abstract String getAuthenticationMethod()
protected String getAuthMethod()
getAuthMethod
in class org.apache.catalina.authenticator.AuthenticatorBase
protected abstract String getArtifactParameterName()
protected abstract String getServiceParameterName()
protected abstract TicketValidator getTicketValidator()
protected void startInternal() throws org.apache.catalina.LifecycleException
startInternal
in class org.apache.catalina.authenticator.AuthenticatorBase
org.apache.catalina.LifecycleException
protected final String getCasServerUrlPrefix()
public final void setCasServerUrlPrefix(String casServerUrlPrefix)
public final void setCasServerLoginUrl(String casServerLoginUrl)
public final boolean isEncode()
public final void setEncode(boolean encode)
protected final boolean isRenew()
public void setRenew(boolean renew)
public final void setServerName(String serverName)
public final void setServiceUrl(String serviceUrl)
protected final String getEncoding()
public final void setEncoding(String encoding)
public final boolean authenticate(org.apache.catalina.connector.Request request, javax.servlet.http.HttpServletResponse response, org.apache.catalina.deploy.LoginConfig loginConfig) throws IOException
authenticate
in interface org.apache.catalina.Authenticator
authenticate
in class org.apache.catalina.authenticator.AuthenticatorBase
IOException
public void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
lifecycleEvent
in interface org.apache.catalina.LifecycleListener
public String getInfo()
getInfo
in interface org.apache.catalina.Valve
getInfo
in class org.apache.catalina.authenticator.AuthenticatorBase
protected void setState(org.apache.catalina.LifecycleState state, Object data) throws org.apache.catalina.LifecycleException
setState
in class org.apache.catalina.util.LifecycleBase
org.apache.catalina.LifecycleException
protected abstract String getName()
Copyright © 2006–2013 Jasig. All rights reserved.