Class AbstractRetryEntryPoint
java.lang.Object
org.springframework.security.web.access.channel.AbstractRetryEntryPoint
- All Implemented Interfaces:
ChannelEntryPoint
- Direct Known Subclasses:
RetryWithHttpEntryPoint
,RetryWithHttpsEntryPoint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
commence
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Commences a secure channel.protected abstract Integer
getMappedPort
(Integer mapFromPort) protected final PortMapper
protected final PortResolver
Deprecated, for removal: This API element is subject to removal in a future version.protected final RedirectStrategy
void
setPortMapper
(PortMapper portMapper) void
setPortResolver
(PortResolver portResolver) Deprecated, for removal: This API element is subject to removal in a future version.void
setRedirectStrategy
(RedirectStrategy redirectStrategy) Sets the strategy to be used for redirecting to the required channel URL.
-
Field Details
-
logger
protected final org.apache.commons.logging.Log logger
-
-
Constructor Details
-
AbstractRetryEntryPoint
-
-
Method Details
-
commence
public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException 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 interfaceChannelEntryPoint
- Parameters:
request
- that aChannelProcessor
has rejectedresponse
- so that the user agent can begin using a new channel- Throws:
IOException
-
getMappedPort
-
getPortMapper
-
setPortMapper
-
setPortResolver
Deprecated, for removal: This API element is subject to removal in a future version. -
getPortResolver
Deprecated, for removal: This API element is subject to removal in a future version. -
setRedirectStrategy
Sets the strategy to be used for redirecting to the required channel URL. ADefaultRedirectStrategy
instance will be used if not set.- Parameters:
redirectStrategy
- the strategy instance to which the URL will be passed.
-
getRedirectStrategy
-