org.acegisecurity.providers.cas.proxy
Class RejectProxyTickets

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

public class RejectProxyTickets
extends Object
implements 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
protected  org.springframework.context.support.MessageSourceAccessor messages
           
 
Constructor Summary
RejectProxyTickets()
           
 
Method Summary
 void afterPropertiesSet()
           
 void confirmProxyListTrusted(List proxyList)
          Decides whether the proxy list is trusted.
 void setMessageSource(org.springframework.context.MessageSource messageSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messages

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

RejectProxyTickets

public RejectProxyTickets()
Method Detail

afterPropertiesSet

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

confirmProxyListTrusted

public void confirmProxyListTrusted(List proxyList)
                             throws ProxyUntrustedException
Description copied from interface: CasProxyDecider
Decides whether the proxy list is trusted.

Must throw any ProxyUntrustedException if the proxy list is untrusted.

Specified by:
confirmProxyListTrusted in interface CasProxyDecider
Parameters:
proxyList - the list of proxies to be checked.
Throws:
ProxyUntrustedException - DOCUMENT ME!

setMessageSource

public void setMessageSource(org.springframework.context.MessageSource messageSource)
Specified by:
setMessageSource in interface org.springframework.context.MessageSourceAware


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