|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.securechannel.ChannelDecisionManagerImpl
public class ChannelDecisionManagerImpl
Implementation of ChannelDecisionManager.
Iterates through each configured ChannelProcessor. If a
ChannelProcessor has any issue with the security of the
request, it should cause a redirect, exception or whatever other action is
appropriate for the ChannelProcessor implementation.
Once any response is committed (ie a redirect is written to the response
object), the ChannelDecisionManagerImpl will not iterate
through any further ChannelProcessors.
| Constructor Summary | |
|---|---|
ChannelDecisionManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
decide(FilterInvocation invocation,
ConfigAttributeDefinition config)
Decided whether the presented FilterInvocation provides the
appropriate level of channel security based on the requested ConfigAttributeDefinition. |
List |
getChannelProcessors()
|
void |
setChannelProcessors(List newList)
|
boolean |
supports(ConfigAttribute attribute)
Indicates whether this ChannelDecisionManager is able to
process the passed ConfigAttribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelDecisionManagerImpl()
| Method Detail |
|---|
public void setChannelProcessors(List newList)
public List getChannelProcessors()
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanException
public void decide(FilterInvocation invocation,
ConfigAttributeDefinition config)
throws IOException,
javax.servlet.ServletException
ChannelDecisionManagerFilterInvocation provides the
appropriate level of channel security based on the requested ConfigAttributeDefinition.
decide in interface ChannelDecisionManagerIOException
javax.servlet.ServletExceptionpublic boolean supports(ConfigAttribute attribute)
ChannelDecisionManagerChannelDecisionManager is able to
process the passed ConfigAttribute.
This allows the ChannelProcessingFilter to check every
configuration attribute can be consumed by the configured
ChannelDecisionManager.
supports in interface ChannelDecisionManagerattribute - a configuration attribute that has been configured
against the ChannelProcessingFilter
ChannelDecisionManager can support the
passed configuration attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||