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 ofLoginUrlAuthenticationEntryPoint
that uses site config to override properties- Since:
- 3.1.5
- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description static String
LOGIN_FORM_URL_KEY
-
Constructor Summary
Constructors Constructor Description ConfigAwareLoginUrlAuthenticationEntryPoint(String loginFormUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
determineUrlToUseForThisRequest(javax.servlet.http.HttpServletRequest request, javax.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, setForceHttps, setPortMapper, setPortResolver, setUseForward
-
-
-
-
Field Detail
-
LOGIN_FORM_URL_KEY
public static final String LOGIN_FORM_URL_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigAwareLoginUrlAuthenticationEntryPoint
@ConstructorProperties("loginFormUrl") public ConfigAwareLoginUrlAuthenticationEntryPoint(String loginFormUrl)
-
-
Method Detail
-
determineUrlToUseForThisRequest
protected String determineUrlToUseForThisRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)
- Overrides:
determineUrlToUseForThisRequest
in classorg.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
-
-