|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An MBean interface that unifies the AuthenticationManager and RealmMapping security interfaces implemented by a security manager for a given domain and provides access to this functionality across all domains by including the security domain name as a method argument.
Method Summary | |
boolean |
doesUserHaveRole(java.lang.String securityDomain,
java.security.Principal principal,
java.lang.Object credential,
java.util.Set roles)
Validates the application domain roles to which the operational environment Principal belongs. |
java.security.Principal |
getPrincipal(java.lang.String securityDomain,
java.security.Principal principal)
Map from the operational environment Principal to the application domain principal. |
java.util.Set |
getUserRoles(java.lang.String securityDomain,
java.security.Principal principal,
java.lang.Object credential)
Return the set of domain roles the principal has been assigned. |
boolean |
isValid(java.lang.String securityDomain,
java.security.Principal principal,
java.lang.Object credential)
The isValid method is invoked to see if a user identity and associated credentials as known in the operational environment are valid proof of the user identity. |
Method Detail |
public boolean isValid(java.lang.String securityDomain, java.security.Principal principal, java.lang.Object credential)
securityDomain
- - the name of the security to useprincipal
- - the user identity in the operation environmentcredential
- - the proof of user identity as known in the
operation environment
public java.security.Principal getPrincipal(java.lang.String securityDomain, java.security.Principal principal)
principal
- - the caller principal as known in the operation environment.
public boolean doesUserHaveRole(java.lang.String securityDomain, java.security.Principal principal, java.lang.Object credential, java.util.Set roles)
securityDomain
- - the name of the security to useprincipal
- - the user identity in the operation environmentcredential
- - the proof of user identity as known in theroles
- - Setpublic java.util.Set getUserRoles(java.lang.String securityDomain, java.security.Principal principal, java.lang.Object credential)
securityDomain
- - the name of the security to useprincipal
- - the user identity in the operation environmentcredential
- - the proof of user identity as known in the
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |