Package org.apache.catalina.realm
Class UserDatabaseRealm.UserDatabasePrincipal
java.lang.Object
org.apache.catalina.realm.GenericPrincipal
org.apache.catalina.realm.UserDatabaseRealm.UserDatabasePrincipal
- All Implemented Interfaces:
- Serializable,- Principal,- TomcatPrincipal
- Enclosing class:
- UserDatabaseRealm
- See Also:
- 
Field SummaryFields inherited from class org.apache.catalina.realm.GenericPrincipalattributes, gssCredential, loginContext, name, roles, userPrincipal
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.catalina.realm.GenericPrincipalgetAttribute, getAttributeNames, getGssCredential, getName, getUserPrincipal, logout, setGssCredential, toString
- 
Constructor Details- 
UserDatabasePrincipal
 
- 
- 
Method Details- 
getRoles- Overrides:
- getRolesin class- GenericPrincipal
 
- 
hasRoleDescription copied from class:GenericPrincipalDoes the user represented by this Principal possess the specified role?- Overrides:
- hasRolein class- GenericPrincipal
- Parameters:
- role- Role to be tested
- Returns:
- trueif this Principal has been assigned the given role, otherwise- false
 
 
-