Class DefaultAuthenticationResultProvider
java.lang.Object
nl._42.restsecure.autoconfigure.authentication.DefaultAuthenticationResultProvider
- All Implemented Interfaces:
AuthenticationResultProvider<RegisteredUser>
public class DefaultAuthenticationResultProvider
extends Object
implements AuthenticationResultProvider<RegisteredUser>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoResult
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, RegisteredUser user) Translates the givenRegisteredUser
implementation to anAuthenticationResult
.
-
Constructor Details
-
DefaultAuthenticationResultProvider
public DefaultAuthenticationResultProvider()
-
-
Method Details
-
toResult
public AuthenticationResult toResult(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, RegisteredUser user) Description copied from interface:AuthenticationResultProvider
Translates the givenRegisteredUser
implementation to anAuthenticationResult
.- Specified by:
toResult
in interfaceAuthenticationResultProvider<RegisteredUser>
- Parameters:
request
-HttpServletRequest
response
-HttpServletResponse
user
-RegisteredUser
- Returns:
AuthenticationResult
-