Package org.eclipse.jetty.security
Class UserPrincipal
java.lang.Object
org.eclipse.jetty.security.UserPrincipal
- All Implemented Interfaces:
Serializable
,Principal
- Direct Known Subclasses:
DataSourceLoginService.DBUserPrincipal
,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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(Object credentials) boolean
boolean
void
configureSubject
(Subject subject) void
deconfigureSubject
(Subject subject) getName()
toString()