org.acegisecurity.providers.cas.proxy
Class NamedCasProxyDecider
java.lang.Object
org.acegisecurity.providers.cas.proxy.NamedCasProxyDecider
- All Implemented Interfaces:
- CasProxyDecider, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
public class NamedCasProxyDecider
- extends Object
- implements CasProxyDecider, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
Accepts proxied requests if the closest proxy is named in the validProxies
list.
Also accepts the
request if there was no proxy (ie the user directly authenticated against this service).
Field Summary |
protected org.springframework.context.support.MessageSourceAccessor |
messages
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messages
protected org.springframework.context.support.MessageSourceAccessor messages
NamedCasProxyDecider
public NamedCasProxyDecider()
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!
getValidProxies
public List getValidProxies()
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource)
- Specified by:
setMessageSource
in interface org.springframework.context.MessageSourceAware
setValidProxies
public void setValidProxies(List validProxies)
Copyright © 2004-2012 Interface21, Inc. All Rights Reserved.