Spring Security Framework

org.springframework.security.securechannel
Class AbstractRetryEntryPoint

java.lang.Object
  extended by org.springframework.security.securechannel.AbstractRetryEntryPoint
All Implemented Interfaces:
ChannelEntryPoint
Direct Known Subclasses:
RetryWithHttpEntryPoint, RetryWithHttpsEntryPoint

public abstract class AbstractRetryEntryPoint
extends Object
implements ChannelEntryPoint

Version:
$Id$
Author:
Luke Taylor

Constructor Summary
AbstractRetryEntryPoint(String scheme, int standardPort)
           
 
Method Summary
 void commence(ServletRequest req, ServletResponse res)
          Commences a secure channel.
protected abstract  Integer getMappedPort(Integer mapFromPort)
           
protected  PortMapper getPortMapper()
           
protected  PortResolver getPortResolver()
           
 void setPortMapper(PortMapper portMapper)
           
 void setPortResolver(PortResolver portResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRetryEntryPoint

public AbstractRetryEntryPoint(String scheme,
                               int standardPort)
Method Detail

commence

public void commence(ServletRequest req,
                     ServletResponse res)
              throws IOException,
                     ServletException
Description copied from interface: ChannelEntryPoint
Commences a secure channel.

Implementations should modify the headers on the ServletResponse as necessary to commence the user agent using the implementation's supported channel type.

Specified by:
commence in interface ChannelEntryPoint
Parameters:
req - that a ChannelProcessor has rejected
res - so that the user agent can begin using a new channel
Throws:
IOException - DOCUMENT ME!
ServletException - DOCUMENT ME!

getMappedPort

protected abstract Integer getMappedPort(Integer mapFromPort)

getPortMapper

protected PortMapper getPortMapper()

getPortResolver

protected PortResolver getPortResolver()

setPortMapper

public void setPortMapper(PortMapper portMapper)

setPortResolver

public void setPortResolver(PortResolver portResolver)

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.