|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mortbay.jaas.StrictRoleCheckPolicy
public class StrictRoleCheckPolicy
StrictRoleChecPolicy
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.
| Constructor Summary | |
|---|---|
StrictRoleCheckPolicy()
|
|
| Method Summary | |
|---|---|
boolean |
checkRole(java.security.Principal role,
java.security.Principal runAsRole,
java.security.acl.Group roles)
Check if a role is either a runAsRole or in a set of roles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrictRoleCheckPolicy()
| Method Detail |
|---|
public boolean checkRole(java.security.Principal role,
java.security.Principal runAsRole,
java.security.acl.Group roles)
RoleCheckPolicy
checkRole in interface RoleCheckPolicyrole - the role to checkrunAsRole - a pushed role (can be null)roles - a Group whose Principals are role names
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||