public class NamedCasProxyDecider extends Object implements CasProxyDecider, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
validProxies
list.Also accepts the request if there was no proxy (ie the user directly authenticated against this service).
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.support.MessageSourceAccessor |
messages |
Constructor and Description |
---|
NamedCasProxyDecider() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
confirmProxyListTrusted(List proxyList)
Decides whether the proxy list is trusted.
|
List |
getValidProxies() |
void |
setMessageSource(org.springframework.context.MessageSource messageSource) |
void |
setValidProxies(List validProxies) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void confirmProxyListTrusted(List proxyList) throws ProxyUntrustedException
CasProxyDecider
Must throw any ProxyUntrustedException
if the
proxy list is untrusted.
confirmProxyListTrusted
in interface CasProxyDecider
proxyList
- the list of proxies to be checked.ProxyUntrustedException
- DOCUMENT ME!public List getValidProxies()
public void setMessageSource(org.springframework.context.MessageSource messageSource)
setMessageSource
in interface org.springframework.context.MessageSourceAware
public void setValidProxies(List validProxies)
Copyright © 2017. All rights reserved.