Package org.eclipse.jetty.security
Class LoggedOutAuthentication
- java.lang.Object
-
- org.eclipse.jetty.security.LoggedOutAuthentication
-
- All Implemented Interfaces:
Authentication
,Authentication.LoginAuthentication
,Authentication.NonAuthenticated
public class LoggedOutAuthentication extends java.lang.Object implements Authentication.NonAuthenticated
LoggedOutAuthentication An Authentication indicating that a user has been previously, but is not currently logged in, but may be capable of logging in after a call to Request.login(String,String)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.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 org.eclipse.jetty.server.Authentication
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED
-
-
Constructor Summary
Constructors Constructor Description LoggedOutAuthentication(LoginAuthenticator authenticator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authentication
login(java.lang.String username, java.lang.Object password, javax.servlet.ServletRequest request)
Login with the LOGIN authenticator
-
-
-
Constructor Detail
-
LoggedOutAuthentication
public LoggedOutAuthentication(LoginAuthenticator authenticator)
-
-
Method Detail
-
login
public Authentication login(java.lang.String username, java.lang.Object password, javax.servlet.ServletRequest request)
Description copied from interface:Authentication.LoginAuthentication
Login with the LOGIN authenticator- Specified by:
login
in interfaceAuthentication.LoginAuthentication
- Parameters:
username
- the usernamepassword
- the passwordrequest
- the request- Returns:
- The new Authentication state
-
-