public class PrincipalUtil extends Object
Constructor and Description |
---|
PrincipalUtil() |
Modifier and Type | Method and Description |
---|---|
static Subject |
createSubject(User user) |
static ACL |
findAccessControlList(Iterable<Principal> principals,
String name) |
static ACL |
findAccessControlList(Subject subject,
String name) |
static <T extends Principal> |
findPrincipal(Subject subject,
Class<T> clazz) |
static <T extends Principal> |
removePrincipal(Iterable<Principal> principals,
Class<T> clazz) |
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.