Class ConfigAwareLoginUrlAuthenticationEntryPoint
java.lang.Object
org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
org.craftercms.engine.util.spring.security.ConfigAwareLoginUrlAuthenticationEntryPoint
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.security.web.AuthenticationEntryPoint
public class ConfigAwareLoginUrlAuthenticationEntryPoint
extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
Extension of
LoginUrlAuthenticationEntryPoint
that uses site config to override properties- Since:
- 3.1.5
- Author:
- joseross
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
determineUrlToUseForThisRequest
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) Methods inherited from class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
afterPropertiesSet, buildHttpsRedirectUrlForRequest, buildRedirectUrlToLoginPage, commence, getLoginFormUrl, getPortMapper, getPortResolver, isForceHttps, isUseForward, setFavorRelativeUris, setForceHttps, setPortMapper, setPortResolver, setUseForward
-
Field Details
-
LOGIN_FORM_URL_KEY
- See Also:
-
-
Constructor Details
-
ConfigAwareLoginUrlAuthenticationEntryPoint
@ConstructorProperties("loginFormUrl") public ConfigAwareLoginUrlAuthenticationEntryPoint(String loginFormUrl)
-
-
Method Details
-
determineUrlToUseForThisRequest
protected String determineUrlToUseForThisRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) - Overrides:
determineUrlToUseForThisRequest
in classorg.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
-