Class HttpMessageConverterAuthenticationSuccessHandler.AuthenticationSuccess
java.lang.Object
org.springframework.security.web.authentication.HttpMessageConverterAuthenticationSuccessHandler.AuthenticationSuccess
- Enclosing class:
HttpMessageConverterAuthenticationSuccessHandler
public static final class HttpMessageConverterAuthenticationSuccessHandler.AuthenticationSuccess
extends Object
A response object used to write the JSON response for successful authentication.
NOTE: We should be careful about writing
Authentication or
Authentication.getPrincipal() to the response since it contains
credentials.- Since:
- 6.4
-
Method Summary
-
Method Details
-
getRedirectUrl
-
isAuthenticated
public boolean isAuthenticated()
-