|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PrincipalUserAuthority
An extension to the UserAuthority interface that provides a mapping between the security system Persona objects and any object that implements java.security.Principal.
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.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface atg.security.UserAuthority |
|---|
addAuthenticationFailedListener, addAuthenticationSucceededListener, getPersona, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, userDestroyed |
| Field Detail |
|---|
static final java.lang.String CLASS_VERSION
| Method Detail |
|---|
java.security.Principal getPrincipalForPersona(Persona persona)
throws SecurityException
SecurityException
Persona getPersonaForPrincipal(java.security.Principal principal)
throws SecurityException
SecurityException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||