com.myjeeva.spring.security.securechannel
Class CrossDomainRetryWithHttpsEntryPoint
java.lang.Object
com.myjeeva.spring.security.securechannel.AbstractCrossDomainRetryEntryPoint
com.myjeeva.spring.security.securechannel.CrossDomainRetryWithHttpsEntryPoint
- All Implemented Interfaces:
- org.springframework.security.securechannel.ChannelEntryPoint
public class CrossDomainRetryWithHttpsEntryPoint
- extends AbstractCrossDomainRetryEntryPoint
Commences a secure channel by retrying the original request using HTTPS with mapped 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 |
httpsScheme
protected static final String httpsScheme
- See Also:
- Constant Field Values
httpsPort
protected static final int httpsPort
- See Also:
- Constant Field Values
CrossDomainRetryWithHttpsEntryPoint
public CrossDomainRetryWithHttpsEntryPoint()
- 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.