org.acegisecurity.providers.cas.ticketvalidator
Class AbstractTicketValidator

java.lang.Object
  extended by org.acegisecurity.providers.cas.ticketvalidator.AbstractTicketValidator
All Implemented Interfaces:
TicketValidator, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
CasProxyTicketValidator

public abstract class AbstractTicketValidator
extends Object
implements TicketValidator, org.springframework.beans.factory.InitializingBean

Convenience abstract base for TicketValidators.

Version:
$Id: AbstractTicketValidator.java 1730 2006-11-12 23:10:09Z benalex $
Author:
Ben Alex

Constructor Summary
AbstractTicketValidator()
           
 
Method Summary
 void afterPropertiesSet()
           
 String getCasValidate()
          Mandatory URL to CAS' proxy ticket valiation service.
 ServiceProperties getServiceProperties()
           
 String getTrustStore()
          Optional property which will be used to set the system property javax.net.ssl.trustStore.
 void setCasValidate(String casValidate)
           
 void setServiceProperties(ServiceProperties serviceProperties)
           
 void setTrustStore(String trustStore)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.acegisecurity.providers.cas.TicketValidator
confirmTicketValid
 

Constructor Detail

AbstractTicketValidator

public AbstractTicketValidator()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getCasValidate

public String getCasValidate()
Mandatory URL to CAS' proxy ticket valiation service.

This is usually something like https://www.mycompany.com/cas/proxyValidate.

Returns:
the CAS proxy ticket validation URL

getServiceProperties

public ServiceProperties getServiceProperties()

getTrustStore

public String getTrustStore()
Optional property which will be used to set the system property javax.net.ssl.trustStore.

Returns:
the javax.net.ssl.trustStore that will be set during bean initialization, or null to leave the system property unchanged

setCasValidate

public void setCasValidate(String casValidate)

setServiceProperties

public void setServiceProperties(ServiceProperties serviceProperties)

setTrustStore

public void setTrustStore(String trustStore)


Copyright © 2004-2011 Interface21, Inc. All Rights Reserved.