info.magnolia.cms.security
Class PrincipalUtil
java.lang.Object
info.magnolia.cms.security.PrincipalUtil
public class PrincipalUtil
- extends Object
Utility methods for handling JAAS principals.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrincipalUtil
public PrincipalUtil()
createSubject
public static Subject createSubject(User user)
findPrincipal
public static <T extends Principal> T findPrincipal(Subject subject,
Class<T> clazz)
findAccessControlList
public static ACL findAccessControlList(Iterable<Principal> principals,
String name)
findAccessControlList
public static ACL findAccessControlList(Subject subject,
String name)
removePrincipal
public static <T extends Principal> T removePrincipal(Iterable<Principal> principals,
Class<T> clazz)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.