Class CCSaaSSecurityConfigurerAdapter.AddClusterIdSubPathToRedirectAuthenticationEntryPoint
java.lang.Object
org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
io.camunda.optimize.rest.security.cloud.CCSaaSSecurityConfigurerAdapter.AddClusterIdSubPathToRedirectAuthenticationEntryPoint
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.security.web.AuthenticationEntryPoint
- Enclosing class:
CCSaaSSecurityConfigurerAdapter
public class CCSaaSSecurityConfigurerAdapter.AddClusterIdSubPathToRedirectAuthenticationEntryPoint
extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
In Camunda Cloud environments all apps are served under a sub-path but there is no reverse
proxy in place. Thus any redirects issued within the app are required to contain the clusterId
as sub-path.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdetermineUrlToUseForThisRequest(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, setForceHttps, setPortMapper, setPortResolver, setUseForward
-
Constructor Details
-
AddClusterIdSubPathToRedirectAuthenticationEntryPoint
-
-
Method Details
-
determineUrlToUseForThisRequest
protected String determineUrlToUseForThisRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) - Overrides:
determineUrlToUseForThisRequestin classorg.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
-