org.eclipse.jetty.plus.jaas
类 StrictRoleCheckPolicy
java.lang.Object
org.eclipse.jetty.plus.jaas.StrictRoleCheckPolicy
- 所有已实现的接口:
- RoleCheckPolicy
public class StrictRoleCheckPolicy
- extends Object
- implements RoleCheckPolicy
StrictRoleCheckPolicy
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.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrictRoleCheckPolicy
public StrictRoleCheckPolicy()
checkRole
public boolean checkRole(String roleName,
Principal runAsRole,
Group roles)
- 从接口
RoleCheckPolicy 复制的描述
- Check if a role is either a runAsRole or in a set of roles
- 指定者:
- 接口
RoleCheckPolicy 中的 checkRole
- 参数:
roleName - the role to checkrunAsRole - a pushed role (can be null)roles - a Group whose Principals are role names
- 返回:
true if role equals runAsRole or is a member of roles.
Copyright © 2013. All Rights Reserved.