java.lang.Object
org.eclipse.jetty.security.UserPrincipal
- All Implemented Interfaces:
Serializable,Principal
- Direct Known Subclasses:
JDBCLoginService.JDBCUserPrincipal
UserPrincipal
Represents a user with a credential.
Instances of this class can be added to a Subject to
present the user, while the credentials can be added
directly to the Subject.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.eclipse.jetty.util.security.Credential -
Constructor Summary
ConstructorsConstructorDescriptionUserPrincipal(String name, org.eclipse.jetty.util.security.Credential credential) -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(Object credentials) booleanbooleanauthenticate(org.eclipse.jetty.util.security.Credential c) voidconfigureSubject(Subject subject) voiddeconfigureSubject(Subject subject) getName()toString()
-
Field Details
-
_credential
protected final org.eclipse.jetty.util.security.Credential _credential
-
-
Constructor Details
-
UserPrincipal
-
-
Method Details