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
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(Object credentials) booleanbooleanvoidconfigureSubject(Subject subject) voiddeconfigureSubject(Subject subject) getName()toString() 
- 
Field Details
- 
_credential
 
 - 
 - 
Constructor Details
- 
UserPrincipal
 
 - 
 - 
Method Details
- 
authenticate
 - 
authenticate
 - 
authenticate
 - 
configureSubject
 - 
deconfigureSubject
 - 
getName
 - 
toString
 
 -