Class AbstractRetryEntryPoint

java.lang.Object
org.springframework.security.web.access.channel.AbstractRetryEntryPoint
All Implemented Interfaces:
ChannelEntryPoint
Direct Known Subclasses:
RetryWithHttpEntryPoint, RetryWithHttpsEntryPoint

@Deprecated public abstract class AbstractRetryEntryPoint extends Object implements ChannelEntryPoint
Deprecated.
please use HttpsRedirectFilter and its associated PortMapper
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.commons.logging.Log
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractRetryEntryPoint(String scheme, int standardPort)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Deprecated.
    Commences a secure channel.
    protected abstract @Nullable Integer
    getMappedPort(Integer mapFromPort)
    Deprecated.
     
    protected final org.springframework.security.web.PortMapper
    Deprecated.
     
    protected final org.springframework.security.web.RedirectStrategy
    Deprecated.
     
    void
    setPortMapper(org.springframework.security.web.PortMapper portMapper)
    Deprecated.
     
    void
    setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)
    Deprecated.
    Sets the strategy to be used for redirecting to the required channel URL.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected final org.apache.commons.logging.Log logger
      Deprecated.
  • Constructor Details

    • AbstractRetryEntryPoint

      public AbstractRetryEntryPoint(String scheme, int standardPort)
      Deprecated.
  • Method Details

    • commence

      public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Deprecated.
      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:
      request - that a ChannelProcessor has rejected
      response - so that the user agent can begin using a new channel
      Throws:
      IOException
    • getMappedPort

      protected abstract @Nullable Integer getMappedPort(Integer mapFromPort)
      Deprecated.
    • getPortMapper

      protected final org.springframework.security.web.PortMapper getPortMapper()
      Deprecated.
    • setPortMapper

      public void setPortMapper(org.springframework.security.web.PortMapper portMapper)
      Deprecated.
    • setRedirectStrategy

      public void setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)
      Deprecated.
      Sets the strategy to be used for redirecting to the required channel URL. A DefaultRedirectStrategy instance will be used if not set.
      Parameters:
      redirectStrategy - the strategy instance to which the URL will be passed.
    • getRedirectStrategy

      protected final org.springframework.security.web.RedirectStrategy getRedirectStrategy()
      Deprecated.