public class BroadleafAdminAuthenticationSuccessHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
Modifier and Type | Field and Description |
---|---|
protected SecurityVerifier |
adminRemoteSecurityService |
protected String |
loginUri |
Constructor and Description |
---|
BroadleafAdminAuthenticationSuccessHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getLoginUri() |
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
protected String |
removeLoginSegment(String url)
Given the instance attribute loginUri, removes the loginUri from the passed url when present
|
void |
setLoginUri(String loginUri) |
clearAuthenticationAttributes
determineTargetUrl, determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
protected String loginUri
protected SecurityVerifier adminRemoteSecurityService
public BroadleafAdminAuthenticationSuccessHandler()
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws javax.servlet.ServletException, IOException
onAuthenticationSuccess
in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
in class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
javax.servlet.ServletException
IOException
protected String removeLoginSegment(String url)
url
- public String getLoginUri()
public void setLoginUri(String loginUri)
Copyright © 2022. All rights reserved.