org.jenkinsci.plugins.cas.spring
Class CasBeanFactory

java.lang.Object
  extended by org.jenkinsci.plugins.cas.spring.CasBeanFactory
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class CasBeanFactory
extends Object
implements org.springframework.beans.factory.InitializingBean

CAS-related bean factory relying on a CasProtocol backing implementation.

Author:
Fabien Crespel

Constructor Summary
CasBeanFactory()
           
 
Method Summary
 void afterPropertiesSet()
           
 org.springframework.security.cas.ServiceProperties createServiceProperties()
          Create a ServiceProperties object describing the CAS service.
 org.jasig.cas.client.validation.TicketValidator createTicketValidator()
          Create a TicketValidator used to validate a CAS response.
 CasProtocol getCasProtocol()
           
 String getCasServerUrl()
           
 void setCasProtocol(CasProtocol casProtocol)
           
 void setCasServerUrl(String casServerUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CasBeanFactory

public CasBeanFactory()
Method Detail

afterPropertiesSet

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

createServiceProperties

public org.springframework.security.cas.ServiceProperties createServiceProperties()
Create a ServiceProperties object describing the CAS service.

Returns:
ServiceProperties

createTicketValidator

public org.jasig.cas.client.validation.TicketValidator createTicketValidator()
Create a TicketValidator used to validate a CAS response.

Returns:
TicketValidator

getCasServerUrl

public String getCasServerUrl()
Returns:
the casServerUrl

setCasServerUrl

public void setCasServerUrl(String casServerUrl)
Parameters:
casServerUrl - the casServerUrl to set

getCasProtocol

public CasProtocol getCasProtocol()
Returns:
the casProtocol

setCasProtocol

public void setCasProtocol(CasProtocol casProtocol)
Parameters:
casProtocol - the casProtocol to set


Copyright © 2004-2012. All Rights Reserved.