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) | 
clearAuthenticationAttributesdetermineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseRefererprotected 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.AuthenticationSuccessHandleronAuthenticationSuccess in class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandlerjavax.servlet.ServletExceptionIOExceptionprotected String removeLoginSegment(String url)
url - public String getLoginUri()
public void setLoginUri(String loginUri)
Copyright © 2020. All rights reserved.