Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.providers.cas.ticketvalidator
Class AbstractTicketValidator  view AbstractTicketValidator download AbstractTicketValidator.java

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

public abstract class AbstractTicketValidator
extends java.lang.Object
implements org.acegisecurity.providers.cas.TicketValidator, org.springframework.beans.factory.InitializingBean

Convenience abstract base for TicketValidators.

Version:
$Id: AbstractTicketValidator.java,v 1.4 2005/11/17 00:56:29 benalex Exp $

Field Summary
private  java.lang.String casValidate
           
private static org.apache.commons.logging.Log logger
           
private  org.acegisecurity.ui.cas.ServiceProperties serviceProperties
           
private  java.lang.String trustStore
           
 
Constructor Summary
AbstractTicketValidator()
           
 
Method Summary
 void afterPropertiesSet()
          Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
 java.lang.String getCasValidate()
          Mandatory URL to CAS' proxy ticket valiation service.
 org.acegisecurity.ui.cas.ServiceProperties getServiceProperties()
           
 java.lang.String getTrustStore()
          Optional property which will be used to set the system property javax.net.ssl.trustStore.
 void setCasValidate(java.lang.String casValidate)
           
 void setServiceProperties(org.acegisecurity.ui.cas.ServiceProperties serviceProperties)
           
 void setTrustStore(java.lang.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
 

Field Detail

logger

private static final org.apache.commons.logging.Log logger

serviceProperties

private org.acegisecurity.ui.cas.ServiceProperties serviceProperties

casValidate

private java.lang.String casValidate

trustStore

private java.lang.String trustStore
Constructor Detail

AbstractTicketValidator

public AbstractTicketValidator()
Method Detail

setCasValidate

public void setCasValidate(java.lang.String casValidate)

getCasValidate

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

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


setServiceProperties

public void setServiceProperties(org.acegisecurity.ui.cas.ServiceProperties serviceProperties)

getServiceProperties

public org.acegisecurity.ui.cas.ServiceProperties getServiceProperties()

setTrustStore

public void setTrustStore(java.lang.String trustStore)

getTrustStore

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


afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Description copied from interface: org.springframework.beans.factory.InitializingBean
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).

This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean