|
Spring Extensions | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.myjeeva.spring.security.securechannel.AbstractCrossDomainRetryEntryPoint
public abstract class AbstractCrossDomainRetryEntryPoint
AbstractCrossDomainRetryEntryPoint
provides provision to locate the cross domain name in the application context for respective ports defined in the PortMapper
while resolving server name before HttpServletResponse#sendRedirect()
CrossDomainMapper
provides the respective cross domain name.
Constructor Summary | |
---|---|
AbstractCrossDomainRetryEntryPoint(String scheme,
int standardPort)
Constructor |
Method Summary | |
---|---|
void |
commence(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
|
protected CrossDomainMapper |
getCrossDomainMapper()
|
protected abstract String |
getMappedDomain(String mapFromDomainName)
gets the mapped domain name with respect to ports defined |
protected abstract Integer |
getMappedPort(Integer mapFromPort)
gets the mapped port in application context |
protected org.springframework.security.util.PortMapper |
getPortMapper()
|
protected org.springframework.security.util.PortResolver |
getPortResolver()
|
void |
setCrossDomainMapper(CrossDomainMapper crossDomainMapper)
|
void |
setPortMapper(org.springframework.security.util.PortMapper portMapper)
|
void |
setPortResolver(org.springframework.security.util.PortResolver portResolver)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCrossDomainRetryEntryPoint(String scheme, int standardPort)
scheme
- a String
object.standardPort
- int - port #Method Detail |
---|
public void commence(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws IOException, javax.servlet.ServletException
commence
in interface org.springframework.security.securechannel.ChannelEntryPoint
IOException
javax.servlet.ServletException
protected abstract Integer getMappedPort(Integer mapFromPort)
mapFromPort
- a Integer
object.
Integer
object.protected abstract String getMappedDomain(String mapFromDomainName)
mapFromDomainName
- a String
object.
String
object.protected org.springframework.security.util.PortMapper getPortMapper()
protected org.springframework.security.util.PortResolver getPortResolver()
protected CrossDomainMapper getCrossDomainMapper()
public void setCrossDomainMapper(CrossDomainMapper crossDomainMapper)
crossDomainMapper
- the crossDomainMapper to setpublic void setPortMapper(org.springframework.security.util.PortMapper portMapper)
portMapper
- the portMapper to setpublic void setPortResolver(org.springframework.security.util.PortResolver portResolver)
portResolver
- the portResolver to set
|
Spring Extensions | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |