Class NonceLoginSuccessHandler
-
- All Implemented Interfaces:
-
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class NonceLoginSuccessHandler extends SavedRequestAwareAuthenticationSuccessHandlerUUse the one-time token to obtain the session, `onResponse` need to be Override
- Since:
2021-02-17
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNonceLoginSuccessHandler.State
-
Field Summary
Fields Modifier and Type Field Description protected StringtargetUrlParameterprotected StringdefaultTargetUrlprotected RedirectStrategyredirectStrategy
-
Constructor Summary
Constructors Constructor Description NonceLoginSuccessHandler()
-
Method Summary
Modifier and Type Method Description final voidonAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication)voidsetAuthStateBuilder(AuthStateBuilder authStateBuilder)-
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer -
Methods inherited from class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
setRequestCache -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onAuthenticationSuccess
final void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
-
setAuthStateBuilder
@Autowired() void setAuthStateBuilder(AuthStateBuilder authStateBuilder)
-
-
-
-