public interface PrincipalUserAuthority extends UserAuthority
Even though Persona implements Principal, the two may not be interchangeable; a Persona may be a higher-performance version of the Principal, and the Principal may be more flexible than a Persona.
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
| Modifier and Type | Method and Description | 
|---|---|
Persona | 
getPersonaForPrincipal(java.security.Principal principal)
Given a Principal, return the Persona that represents it. 
 | 
java.security.Principal | 
getPrincipalForPersona(Persona persona)
Given a persona, return the Principal that it represents. 
 | 
addAuthenticationFailedListener, addAuthenticationSucceededListener, getPersona, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, userDestroyedstatic final java.lang.String CLASS_VERSION
java.security.Principal getPrincipalForPersona(Persona persona) throws SecurityException
SecurityExceptionPersona getPersonaForPrincipal(java.security.Principal principal) throws SecurityException
SecurityException