org.acegisecurity.securechannel
public class RetryWithHttpEntryPoint extends java.lang.Object implements org.springframework.beans.factory.InitializingBean, ChannelEntryPoint
This entry point should suffice in most circumstances. However, it is not intended to properly handle HTTP POSTs or other usage where a standard redirect would cause an issue.
Constructor and Description |
---|
RetryWithHttpEntryPoint() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
commence(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Commences a secure channel.
|
PortMapper |
getPortMapper() |
PortResolver |
getPortResolver() |
void |
setPortMapper(PortMapper portMapper) |
void |
setPortResolver(PortResolver portResolver) |
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void commence(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws java.io.IOException, javax.servlet.ServletException
ChannelEntryPoint
Implementations should modify the headers on the
ServletResponse
as necessary to commence the user agent using the implementation's supported
channel type.
commence
in interface ChannelEntryPoint
request
- that a ChannelProcessor
has rejectedresponse
- so that the user agent can begin using a new channeljava.io.IOException
- DOCUMENT ME!javax.servlet.ServletException
- DOCUMENT ME!public PortMapper getPortMapper()
public PortResolver getPortResolver()
public void setPortMapper(PortMapper portMapper)
public void setPortResolver(PortResolver portResolver)
Copyright © 2004-2014 Interface21, Inc. All Rights Reserved.