Package org.eclipse.jetty.server
Interface Authentication.User
-
- All Superinterfaces:
Authentication
- Enclosing interface:
- Authentication
public static interface Authentication.User extends Authentication
A successful Authentication with User information.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.Authentication
Authentication.Challenge, Authentication.Deferred, Authentication.Failed, Authentication.Failure, 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 Modifier and Type Method Description StringgetAuthMethod()UserIdentitygetUserIdentity()booleanisUserInRole(UserIdentity.Scope scope, String role)voidlogout()
-
-
-
Method Detail
-
getAuthMethod
String getAuthMethod()
-
getUserIdentity
UserIdentity getUserIdentity()
-
isUserInRole
boolean isUserInRole(UserIdentity.Scope scope, String role)
-
logout
void logout()
-
-