|
|||||||||
| Home >> All >> org >> acegisecurity >> [ securechannel overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.acegisecurity.securechannel
Class InsecureChannelProcessor

java.lang.Objectorg.acegisecurity.securechannel.InsecureChannelProcessor
- All Implemented Interfaces:
- ChannelProcessor, org.springframework.beans.factory.InitializingBean
- public class InsecureChannelProcessor
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean, ChannelProcessor
- extends java.lang.Object
Ensures channel security is inactive by review of
HttpServletRequest.isSecure() responses.
The class responds to one case-sensitive keyword, getInsecureKeyword() 55 . If this keyword is detected,
HttpServletRequest.isSecure() is used to determine the channel
security offered. If channel security is present, the configured
ChannelEntryPoint is called. By default the entry point is
RetryWithHttpEntryPoint.
The default insecureKeyword is
REQUIRES_INSECURE_CHANNEL.
- Version:
- $Id: InsecureChannelProcessor.java,v 1.3 2005/11/17 00:55:50 benalex Exp $
| Field Summary | |
private ChannelEntryPoint |
entryPoint
|
private java.lang.String |
insecureKeyword
|
| Constructor Summary | |
InsecureChannelProcessor()
|
|
| Method Summary | |
void |
afterPropertiesSet()
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware). |
void |
decide(org.acegisecurity.intercept.web.FilterInvocation invocation,
ConfigAttributeDefinition config)
Decided whether the presented org.acegisecurity.intercept.web.FilterInvocation provides the appropriate level of channel security based on the requested ConfigAttributeDefinition. |
ChannelEntryPoint |
getEntryPoint()
|
java.lang.String |
getInsecureKeyword()
|
void |
setEntryPoint(ChannelEntryPoint entryPoint)
|
void |
setInsecureKeyword(java.lang.String secureKeyword)
|
boolean |
supports(ConfigAttribute attribute)
Indicates whether this ChannelProcessor 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 |
| Field Detail |
entryPoint
private ChannelEntryPoint entryPoint
insecureKeyword
private java.lang.String insecureKeyword
| Constructor Detail |
InsecureChannelProcessor
public InsecureChannelProcessor()
| Method Detail |
setEntryPoint
public void setEntryPoint(ChannelEntryPoint entryPoint)
getEntryPoint
public ChannelEntryPoint getEntryPoint()
setInsecureKeyword
public void setInsecureKeyword(java.lang.String secureKeyword)
getInsecureKeyword
public java.lang.String getInsecureKeyword()
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:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
decide
public void decide(org.acegisecurity.intercept.web.FilterInvocation invocation, ConfigAttributeDefinition config) throws java.io.IOException, javax.servlet.ServletException
- Description copied from interface:
ChannelProcessor - Decided whether the presented org.acegisecurity.intercept.web.FilterInvocation provides the
appropriate level of channel security based on the requested
ConfigAttributeDefinition.- Specified by:
decidein interfaceChannelProcessor
supports
public boolean supports(ConfigAttribute attribute)
- Description copied from interface:
ChannelProcessor - Indicates whether this
ChannelProcessoris able to process the passedConfigAttribute.This allows the
ChannelProcessingFilterto check every configuration attribute can be consumed by the configuredChannelDecisionManager.- Specified by:
supportsin interfaceChannelProcessor
|
|||||||||
| Home >> All >> org >> acegisecurity >> [ securechannel overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.acegisecurity.securechannel.InsecureChannelProcessor