public interface RoleCheckPolicy
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkRole(java.lang.String roleName,
java.security.Principal runAsRole,
java.security.acl.Group roles)
Check if a role is either a runAsRole or in a set of roles
|
boolean checkRole(java.lang.String roleName,
java.security.Principal runAsRole,
java.security.acl.Group roles)
roleName - the role to checkrunAsRole - a pushed role (can be null)roles - a Group whose Principals are role namestrue if role equals runAsRole or is a member of roles.Copyright © 2013 FuseSource, Corp.. All Rights Reserved.