public interface RoleCheckPolicy
boolean checkRole(String roleName, Principal runAsRole, 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 © 1995-2015 Webtide. All Rights Reserved.