public class MSecurity extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP_CLASS |
static String |
ROLE_CLASS |
static String |
USER_CLASS |
| Constructor and Description |
|---|
MSecurity() |
| Modifier and Type | Method and Description |
|---|---|
static List<Principal> |
getGroups(Subject subject) |
static List<Principal> |
getRoles(Subject subject) |
static Principal |
getUser(Subject subject) |
static boolean |
hasGroup(Subject subject,
String name) |
static boolean |
hasRole(Subject subject,
String name) |
public static final String USER_CLASS
public static final String GROUP_CLASS
public static final String ROLE_CLASS
Copyright © 2014. All rights reserved.