Interface Authentication.LoginAuthentication
- All Superinterfaces:
Authentication, Request.AuthenticationState
- All Known Subinterfaces:
Authentication.Deferred, Authentication.NonAuthenticated
- All Known Implementing Classes:
DeferredAuthentication, LoggedOutAuthentication
- Enclosing interface:
Authentication
An authentication that is capable of performing a programmatic login
operation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Authentication
Authentication.Challenge, Authentication.Deferred, Authentication.Failed, Authentication.Failure, Authentication.LoginAuthentication, Authentication.LogoutAuthentication, Authentication.NonAuthenticated, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped -
Field Summary
Fields inherited from interface Authentication
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED -
Method Summary
Modifier and TypeMethodDescriptionLogin with the LOGIN authenticatorMethods inherited from interface Request.AuthenticationState
getUserPrincipal
-
Method Details
-
login
Login with the LOGIN authenticator- Parameters:
username- the usernamepassword- the passwordrequest- the request- Returns:
- The new Authentication state
-