info.magnolia.cms.core
Class Access

java.lang.Object
  extended by info.magnolia.cms.core.Access

public final class Access
extends Object

Simply utility class for AccessManager.

Version:
$Id$

Method Summary
static void isGranted(AccessManager manager, String path, long permissions)
          Deprecated. AccessManager is no longer supported and used. Use JCR Session based security instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isGranted

@Deprecated
public static void isGranted(AccessManager manager,
                                        String path,
                                        long permissions)
                      throws AccessDeniedException
Deprecated. AccessManager is no longer supported and used. Use JCR Session based security instead.

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.