|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for Principal mapping. It defines the mapping from the
operational environment Principal to the application domain principal via
the getPrincipal
method. It also defines
the method for validating the application domain roles to which the operational
environment Principal belongs via the getPrincipal
method.
Method Summary | |
boolean |
doesUserHaveRole(Principal principal,
Set roles)
Validates the application domain roles to which the operational environment Principal belongs. |
Principal |
getPrincipal(Principal principal)
Map from the operational environment Principal to the application domain principal. |
Set |
getUserRoles(Principal principal)
Return the set of domain roles the principal has been assigned. |
Method Detail |
public Principal getPrincipal(Principal principal)
principal
- the caller principal as known in the operation environment.
public boolean doesUserHaveRole(Principal principal, Set roles)
principal
- the caller principal as known in the operation environment.roles
- The Setpublic Set getUserRoles(Principal principal)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |