public interface LoginHandler
Modifier and Type | Method and Description |
---|---|
HttpResponse |
loginFailed(AuthenticationFailed authenticationFailed) |
HttpResponse |
loginSuccess(UserDetails userDetails,
HttpRequest<?> request) |
HttpResponse loginSuccess(UserDetails userDetails, HttpRequest<?> request)
userDetails
- Authenticated user's representation.request
- The HttpRequest
being executedHttpResponse loginFailed(AuthenticationFailed authenticationFailed)
authenticationFailed
- Object encapsulates the Login failure