Package org.eclipse.jetty.server
Interface Authentication.Deferred
-
- All Superinterfaces:
Authentication
,Authentication.LoginAuthentication
,Authentication.LogoutAuthentication
- Enclosing interface:
- Authentication
@Deprecated(since="2021-05-27") public static interface Authentication.Deferred extends Authentication.LoginAuthentication, Authentication.LogoutAuthentication
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A deferred authentication with methods to progress the authentication process.
-
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Authentication
authenticate(ServletRequest request)
Deprecated.Authenticate if possible without sending a challenge.Authentication
authenticate(ServletRequest request, ServletResponse response)
Deprecated.Authenticate and possibly send a challenge.-
Methods inherited from interface org.eclipse.jetty.server.Authentication.LoginAuthentication
login
-
Methods inherited from interface org.eclipse.jetty.server.Authentication.LogoutAuthentication
logout
-
-
-
-
Method Detail
-
authenticate
Authentication authenticate(ServletRequest request)
Deprecated.Authenticate if possible without sending a challenge. This is used to check credentials that have been sent for non-mandatory authentication.- Parameters:
request
- the request- Returns:
- The new Authentication state.
-
authenticate
Authentication authenticate(ServletRequest request, ServletResponse response)
Deprecated.Authenticate and possibly send a challenge. This is used to initiate authentication for previously non-mandatory authentication.- Parameters:
request
- the requestresponse
- the response- Returns:
- The new Authentication state.
-
-