org.mortbay.jaas

Class StrictRoleCheckPolicy

public class StrictRoleCheckPolicy extends Object implements RoleCheckPolicy

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.

Notes

Usage

   
Method Summary
booleancheckRole(Principal role, Principal runAsRole, Group roles)

Method Detail

checkRole

public boolean checkRole(Principal role, Principal runAsRole, Group roles)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.