public interface TomcatPrincipal
extends java.security.Principal
Principal
s created by
Tomcat's standard Realm
implementations.Modifier and Type | Method and Description |
---|---|
org.ietf.jgss.GSSCredential |
getGssCredential()
The user's delegated credentials.
|
java.security.Principal |
getUserPrincipal()
The authenticated Principal to be exposed to applications.
|
void |
logout()
Calls logout, if necessary, on any associated JAASLoginContext.
|
java.security.Principal getUserPrincipal()
org.ietf.jgss.GSSCredential getGssCredential()
void logout() throws java.lang.Exception
java.lang.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 LoginContextCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.