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

Quick Search    Search Deep

org.acegisecurity.providers.cas.proxy
Class RejectProxyTickets  view RejectProxyTickets download RejectProxyTickets.java

java.lang.Object
  extended byorg.acegisecurity.providers.cas.proxy.RejectProxyTickets
All Implemented Interfaces:
org.acegisecurity.providers.cas.CasProxyDecider, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware

public class RejectProxyTickets
extends java.lang.Object
implements org.acegisecurity.providers.cas.CasProxyDecider, org.springframework.context.MessageSourceAware, org.springframework.beans.factory.InitializingBean

Accepts no proxied requests.

This class should be used if only service tickets wish to be accepted (ie no proxy tickets at all).


Field Summary
private static org.apache.commons.logging.Log logger
           
protected  org.springframework.context.support.MessageSourceAccessor messages
           
 
Constructor Summary
RejectProxyTickets()
           
 
Method Summary
 void afterPropertiesSet()
          Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
 void confirmProxyListTrusted(java.util.List proxyList)
          Decides whether the proxy list is trusted.
 void setMessageSource(org.springframework.context.MessageSource messageSource)
          Set the MessageSource that this object runs in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

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

messages

protected org.springframework.context.support.MessageSourceAccessor messages
Constructor Detail

RejectProxyTickets

public RejectProxyTickets()
Method Detail

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

confirmProxyListTrusted

public void confirmProxyListTrusted(java.util.List proxyList)
                             throws org.acegisecurity.providers.cas.ProxyUntrustedException
Description copied from interface: org.acegisecurity.providers.cas.CasProxyDecider
Decides whether the proxy list is trusted.

Must throw any ProxyUntrustedException if the proxy list is untrusted.

Specified by:
confirmProxyListTrusted in interface org.acegisecurity.providers.cas.CasProxyDecider

setMessageSource

public void setMessageSource(org.springframework.context.MessageSource messageSource)
Description copied from interface: org.springframework.context.MessageSourceAware
Set the MessageSource that this object runs in.

Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method. Invoked before ApplicationContextAware's setApplicationContext.

Specified by:
setMessageSource in interface org.springframework.context.MessageSourceAware