org.jasig.cas.client.tomcat.v7
Class Cas10CasAuthenticator

java.lang.Object
  extended by org.apache.catalina.util.LifecycleBase
      extended by org.apache.catalina.util.LifecycleMBeanBase
          extended by org.apache.catalina.valves.ValveBase
              extended by org.apache.catalina.authenticator.AuthenticatorBase
                  extended by org.jasig.cas.client.tomcat.v7.AbstractAuthenticator
                      extended by org.jasig.cas.client.tomcat.v7.AbstractCasAuthenticator
                          extended by org.jasig.cas.client.tomcat.v7.Cas10CasAuthenticator
All Implemented Interfaces:
MBeanRegistration, org.apache.catalina.Authenticator, org.apache.catalina.Contained, org.apache.catalina.Lifecycle, org.apache.catalina.LifecycleListener, org.apache.catalina.Valve

public final class Cas10CasAuthenticator
extends AbstractCasAuthenticator

Authenticator that handles CAS 1.0 protocol.

Since:
3.1.12
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Field Summary
static String AUTH_METHOD
           
 
Fields inherited from class org.jasig.cas.client.tomcat.v7.AbstractAuthenticator
logger
 
Fields inherited from class org.apache.catalina.authenticator.AuthenticatorBase
algorithm, alwaysUseSession, AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, DEFAULT_ALGORITHM, disableProxyCaching, info, REALM_NAME, securePagesWithPragma, secureRandomAlgorithm, secureRandomClass, secureRandomProvider, SESSION_ID_BYTES, sessionIdGenerator, sm, sso
 
Fields inherited from class org.apache.catalina.valves.ValveBase
asyncSupported, container, containerLog, next
 
Fields inherited from class org.apache.catalina.util.LifecycleMBeanBase
mserver
 
Fields inherited from interface org.apache.catalina.Lifecycle
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 Summary
Cas10CasAuthenticator()
           
 
Method Summary
protected  String getAuthenticationMethod()
           
protected  String getName()
           
protected  TicketValidator getTicketValidator()
          Returns the single instance of the ticket validator to use to validate tickets.
protected  void startInternal()
           
 
Methods inherited from class org.jasig.cas.client.tomcat.v7.AbstractCasAuthenticator
getArtifactParameterName, getProxyCallbackUrl, getServiceParameterName, setProxyCallbackUrl
 
Methods inherited from class org.jasig.cas.client.tomcat.v7.AbstractAuthenticator
authenticate, getAuthMethod, getCasServerUrlPrefix, getEncoding, getInfo, isEncode, isRenew, lifecycleEvent, setCasServerLoginUrl, setCasServerUrlPrefix, setEncode, setEncoding, setRenew, setServerName, setServiceUrl, setState
 
Methods inherited from class org.apache.catalina.authenticator.AuthenticatorBase
associate, doLogin, getAlgorithm, getCache, getChangeSessionIdOnAuthentication, getContainer, getDisableProxyCaching, getSecurePagesWithPragma, getSecureRandomAlgorithm, getSecureRandomClass, getSecureRandomProvider, invoke, login, logout, reauthenticateFromSSO, register, setAlgorithm, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, setSecureRandomAlgorithm, setSecureRandomClass, setSecureRandomProvider, stopInternal
 
Methods inherited from class org.apache.catalina.valves.ValveBase
backgroundProcess, event, getDomainInternal, getNext, getObjectNameKeyProperties, initInternal, isAsyncSupported, setAsyncSupported, setNext, toString
 
Methods inherited from class org.apache.catalina.util.LifecycleMBeanBase
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister
 
Methods inherited from class org.apache.catalina.util.LifecycleBase
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, init, removeLifecycleListener, setState, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTH_METHOD

public static final String AUTH_METHOD
See Also:
Constant Field Values
Constructor Detail

Cas10CasAuthenticator

public Cas10CasAuthenticator()
Method Detail

getTicketValidator

protected TicketValidator getTicketValidator()
Description copied from class: AbstractAuthenticator
Returns the single instance of the ticket validator to use to validate tickets. Sub classes should include the one appropriate for the

Specified by:
getTicketValidator in class AbstractAuthenticator
Returns:
a fully configured ticket validator. CANNOT be NULL.

getAuthenticationMethod

protected String getAuthenticationMethod()
Specified by:
getAuthenticationMethod in class AbstractAuthenticator

getName

protected String getName()
Specified by:
getName in class AbstractAuthenticator
Returns:
Authenticator descriptive name.

startInternal

protected void startInternal()
                      throws org.apache.catalina.LifecycleException
Overrides:
startInternal in class AbstractAuthenticator
Throws:
org.apache.catalina.LifecycleException


Copyright © 2006-2014 Jasig. All Rights Reserved.