Enforces that if a runAsRole is present, then the role to check must be the same as that runAsRole and the set of static roles is ignored.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | checkRole(String
the role to check roleName, Principal a pushed role (can be null) runAsRole, java.a Group whose Principals are role names rolesImplements org. |
| StrictRoleCheckPolicy | back to summary |
|---|---|
| public StrictRoleCheckPolicy() | |
| checkRole | back to summary |
|---|---|
| public boolean checkRole(String roleName, Principal runAsRole, java. Implements org. Doc from org. Check if a role is either a runAsRole or in a set of roles | |