Package org.flowable.ui.common.security
Class FlowableLoginUrlAuthenticationEntryPoint
- java.lang.Object
-
- org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
-
- org.flowable.ui.common.security.FlowableLoginUrlAuthenticationEntryPoint
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.security.web.AuthenticationEntryPoint
public class FlowableLoginUrlAuthenticationEntryPoint extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPointSpecial Flowable UI SpecificLoginUrlAuthenticationEntryPointthat allows adding a redirect on auth success dynamically to the redirect URL.- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected StringredirectUrlOnAuthSuccess
-
Constructor Summary
Constructors Constructor Description FlowableLoginUrlAuthenticationEntryPoint(String idmAppUrl, String redirectOnAuthSuccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdetermineUrlToUseForThisRequest(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
-
redirectUrlOnAuthSuccess
protected String redirectUrlOnAuthSuccess
-
-
Method Detail
-
determineUrlToUseForThisRequest
protected String determineUrlToUseForThisRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)
- Overrides:
determineUrlToUseForThisRequestin classorg.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
-
-