public class UmsAuthenticationSuccessHandler extends BaseAuthenticationSuccessHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected LoginProcessType |
loginProcessType |
protected org.springframework.security.web.savedrequest.RequestCache |
requestCache |
auth2RedirectUrl, ignoreUrls, useReferer| 构造器和说明 |
|---|
UmsAuthenticationSuccessHandler(ClientProperties clientProperties,
String auth2RedirectUrl,
String domain,
String refreshTokenHeaderName,
org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory,
UmsProperties umsProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
determineTargetUrl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Builds the target URL according to the logic defined in the main class Javadoc.
|
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
void |
setUseReferer(boolean useReferer) |
addIgnoreUrl, setAuth2RedirectUrlsetRequestCacheclearAuthenticationAttributesdetermineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameterprotected final org.springframework.security.web.savedrequest.RequestCache requestCache
protected final LoginProcessType loginProcessType
public UmsAuthenticationSuccessHandler(@NonNull
ClientProperties clientProperties,
@Nullable
String auth2RedirectUrl,
@NonNull
String domain,
@NonNull
String refreshTokenHeaderName,
@NonNull
org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory,
@NonNull
UmsProperties umsProperties)
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 在接口中 org.springframework.security.web.authentication.AuthenticationSuccessHandleronAuthenticationSuccess 在类中 org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandlerIOExceptionjavax.servlet.ServletExceptionprotected String determineTargetUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
determineTargetUrl 在类中 org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandlerpublic void setUseReferer(boolean useReferer)
setUseReferer 在类中 org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandlerCopyright © 2021. All rights reserved.