public interface RealmMapping
getPrincipal method. It also defines
the method for validating the application domain roles to which the operational
environment Principal belongs via the getPrincipal
method.| Modifier and Type | Method and Description |
|---|---|
boolean |
doesUserHaveRole(Principal principal,
Set<Principal> 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<Principal> |
getUserRoles(Principal principal)
Return the set of domain roles the principal has been assigned.
|
Principal getPrincipal(Principal principal)
principal - the caller principal as known in the operation environment.boolean doesUserHaveRole(Principal principal, Set<Principal> roles)
principal - the caller principal as known in the operation environment.roles - The SetCopyright © 2018 JBoss by Red Hat. All rights reserved.