info.magnolia.cms.core
Class Access
java.lang.Object
info.magnolia.cms.core.Access
public final class Access
- extends Object
Simply utility class for AccessManager.
- Author:
- Sameer Charles $Id: Access.java 41137 2011-01-06 18:19:25Z gjoseph $
Method Summary |
static void |
isGranted(AccessManager manager,
String path,
long permissions)
Checks if the given AccessManager allows specified permission on the given path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isGranted
public static void isGranted(AccessManager manager,
String path,
long permissions)
throws AccessDeniedException
- Checks if the given AccessManager allows specified permission on the given path.
If no AccessManager is passed, the permission is assumed granted, no exception is thrown.
- Throws:
AccessDeniedException
- if the permission isn't granted.
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.