com.myjeeva.spring.security.securechannel
Class CrossDomainRetryWithHttpEntryPoint
java.lang.Object
com.myjeeva.spring.security.securechannel.AbstractCrossDomainRetryEntryPoint
com.myjeeva.spring.security.securechannel.CrossDomainRetryWithHttpEntryPoint
- All Implemented Interfaces:
- org.springframework.security.securechannel.ChannelEntryPoint
public class CrossDomainRetryWithHttpEntryPoint
- extends AbstractCrossDomainRetryEntryPoint
Commences an insecure channel by retrying the original request using HTTP with Cross domain name.
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.
- Author:
- Jeevanandam ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
httpScheme
protected static final String httpScheme
- See Also:
- Constant Field Values
httpPort
protected static final int httpPort
- See Also:
- Constant Field Values
CrossDomainRetryWithHttpEntryPoint
public CrossDomainRetryWithHttpEntryPoint()
- Constructor
getMappedPort
protected Integer getMappedPort(Integer mapFromPort)
- gets the mapped port in application context
- Specified by:
getMappedPort
in class AbstractCrossDomainRetryEntryPoint
- Parameters:
mapFromPort
- a Integer
object.
- Returns:
- port a
Integer
object.
getMappedDomain
protected String getMappedDomain(String mapFromDomainName)
- gets the mapped domain name with respect to ports defined
- Specified by:
getMappedDomain
in class AbstractCrossDomainRetryEntryPoint
- Parameters:
mapFromDomainName
- a String
object.
- Returns:
- domain name a
String
object.