org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class LoginHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
Constructor | Description |
---|---|
LoginHandler() |
Modifier and Type | Method | Description |
---|---|---|
org.springframework.security.web.RedirectStrategy |
getRedirectStrategy() |
|
String |
getRedirectUrl() |
|
protected String |
getRedirectUrl(javax.servlet.http.HttpServletRequest request) |
|
protected org.springframework.security.web.savedrequest.SavedRequest |
getRequest(javax.servlet.http.HttpServletRequest currentRequest) |
|
boolean |
isAutologinSuccessHandler() |
|
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
|
void |
redirectToOnLoginSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.web.RedirectStrategy redirectStrategy) |
|
void |
setIsAutologinSuccessHandler(boolean isAutologinSuccessHandler) |
|
void |
setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy) |
|
void |
setRedirectUrl(String redirectUrl) |
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, javax.servlet.ServletException
onAuthenticationSuccess
in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
IOException
javax.servlet.ServletException
public void redirectToOnLoginSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.web.RedirectStrategy redirectStrategy) throws IOException
IOException
protected org.springframework.security.web.savedrequest.SavedRequest getRequest(javax.servlet.http.HttpServletRequest currentRequest)
protected String getRedirectUrl(javax.servlet.http.HttpServletRequest request)
public org.springframework.security.web.RedirectStrategy getRedirectStrategy()
public void setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)
public String getRedirectUrl()
public boolean isAutologinSuccessHandler()
public void setIsAutologinSuccessHandler(boolean isAutologinSuccessHandler)
public void setRedirectUrl(String redirectUrl)
Copyright © 2002–2019 itracker. All rights reserved.