Class OAuth2ClientIdForwardRedirectStrategy
- java.lang.Object
-
- org.springframework.security.web.DefaultRedirectStrategy
-
- com.broadleafcommerce.auth.user.session.OAuth2ClientIdForwardRedirectStrategy
-
- All Implemented Interfaces:
org.springframework.security.web.RedirectStrategy
public class OAuth2ClientIdForwardRedirectStrategy extends org.springframework.security.web.DefaultRedirectStrategy- Author:
- Nick Crum (ncrum)
-
-
Constructor Summary
Constructors Constructor Description OAuth2ClientIdForwardRedirectStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAdditionalParams(org.springframework.web.util.UriComponentsBuilder redirectUriBuilder, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url)Extension point for use modifying the login failure redirect URL.protected org.springframework.web.util.UriComponentsBuilderaddCommonRedirectParams(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url)voidsendRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url)
-
-
-
Method Detail
-
sendRedirect
public void sendRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url) throws IOException- Specified by:
sendRedirectin interfaceorg.springframework.security.web.RedirectStrategy- Overrides:
sendRedirectin classorg.springframework.security.web.DefaultRedirectStrategy- Throws:
IOException
-
addCommonRedirectParams
protected org.springframework.web.util.UriComponentsBuilder addCommonRedirectParams(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url)
-
addAdditionalParams
protected void addAdditionalParams(org.springframework.web.util.UriComponentsBuilder redirectUriBuilder, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url)Extension point for use modifying the login failure redirect URL. This is useful for adding additional redirect parameters to all login failure redirects.- Parameters:
request-response-url-
-
-