|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityManagerMBean
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(String securityDomain,
Principal principal,
Object credential,
Set roles)
Validates the application domain roles to which the operational environment Principal belongs. |
Principal |
getPrincipal(String securityDomain,
Principal principal)
Map from the operational environment Principal to the application domain principal. |
Set |
getUserRoles(String securityDomain,
Principal principal,
Object credential)
Return the set of domain roles the principal has been assigned. |
boolean |
isValid(String securityDomain,
Principal principal,
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 |
---|
boolean isValid(String securityDomain, Principal principal, 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
Principal getPrincipal(String securityDomain, Principal principal)
principal
- - the caller principal as known in the operation environment.
boolean doesUserHaveRole(String securityDomain, Principal principal, Object credential, 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
- - SetSet getUserRoles(String securityDomain, Principal principal, 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 NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |