Package org.apache.catalina
Interface TomcatPrincipal
- All Superinterfaces:
- Principal
- All Known Implementing Classes:
- GenericPrincipal,- UserDatabaseRealm.UserDatabasePrincipal
- 
Method SummaryModifier and TypeMethodDescriptionvoidlogout()Calls logout, if necessary, on any associated JAASLoginContext.
- 
Method Details- 
getUserPrincipalPrincipal getUserPrincipal()- Returns:
- The authenticated Principal to be exposed to applications.
 
- 
getGssCredentialGSSCredential getGssCredential()- Returns:
- The user's delegated credentials.
 
- 
logoutCalls logout, if necessary, on any associated JAASLoginContext. May in the future be extended to cover other logout requirements.- Throws:
- Exception- If something goes wrong with the logout. Uses Exception to allow for future expansion of this method to cover other logout mechanisms that might throw a different exception to LoginContext
 
 
-