public class UserAuthorizationSuccessfulAuthenticationHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
Constructor and Description |
---|
UserAuthorizationSuccessfulAuthenticationHandler() |
UserAuthorizationSuccessfulAuthenticationHandler(String s) |
Modifier and Type | Method and Description |
---|---|
String |
getCallbackParameterName()
The name of the request parameter that supplies the callback URL.
|
String |
getTokenParameterName()
The name of the request parameter that supplies the token id.
|
boolean |
isRequire10a()
Whether to require 1.0a support.
|
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
void |
setCallbackParameterName(String callbackParameterName)
The name of the request parameter that supplies the callback URL.
|
void |
setRequire10a(boolean require10a)
Whether to require 1.0a support.
|
void |
setTokenIdParameterName(String tokenIdParameterName)
The name of the request parameter that supplies the token id.
|
clearAuthenticationAttributes
determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
public UserAuthorizationSuccessfulAuthenticationHandler()
public UserAuthorizationSuccessfulAuthenticationHandler(String s)
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
onAuthenticationSuccess
in class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
IOException
javax.servlet.ServletException
public String getTokenParameterName()
public void setTokenIdParameterName(String tokenIdParameterName)
tokenIdParameterName
- The name of the request parameter that supplies the token id.public boolean isRequire10a()
public void setRequire10a(boolean require10a)
require10a
- Whether to require 1.0a support.public String getCallbackParameterName()
public void setCallbackParameterName(String callbackParameterName)
callbackParameterName
- The name of the request parameter that supplies the callback URL.Copyright © 2019. All rights reserved.