public class AuthLevelUtil extends Object
Constructor and Description |
---|
AuthLevelUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasAdminLevel(Set<User.Right> rights) |
static boolean |
hasLoginLevel(Set<User.Right> rights) |
static boolean |
hasModLevel(User u,
Long groupId) |
static boolean |
hasUserLevel(Set<User.Right> rights) |
static boolean |
hasWebServiceLevel(Set<User.Right> rights) |
public static boolean hasUserLevel(Set<User.Right> rights)
public static boolean hasAdminLevel(Set<User.Right> rights)
public static boolean hasWebServiceLevel(Set<User.Right> rights)
public static boolean hasLoginLevel(Set<User.Right> rights)
Copyright © 2012–2016 Apache Software Foundation. All rights reserved.