|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.security.AdminEvaluator
public class AdminEvaluator
Provides single location for housing knowledge of the various ways to determine if a user is an administrator or is in any administrative sub-group.
| Constructor Summary | |
|---|---|
AdminEvaluator()
|
|
| Method Summary | |
|---|---|
static boolean |
isAdmin(IAuthorizationPrincipal ap)
Determines if the passed-in authorization principal represents a user that is a member of the administrator group or any of its sub groups. |
static boolean |
isAdmin(IGroupMember member)
Determines if the passed-in group member represents a user that is a member of the administrator group or any of its sub groups. |
static boolean |
isAdmin(IPerson p)
Determines if the passed-in IPerson represents a user that is a member of the administrator group or any of its sub groups. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminEvaluator()
| Method Detail |
|---|
public static boolean isAdmin(IPerson p)
p -
public static boolean isAdmin(IAuthorizationPrincipal ap)
p -
public static boolean isAdmin(IGroupMember member)
p -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||