org.jboss.dna.graph.session
Interface GraphSession.Authorizer

Enclosing class:
GraphSession<Payload,PropertyPayload>

@ThreadSafe
public static interface GraphSession.Authorizer


Nested Class Summary
static class GraphSession.Authorizer.Action
           
 
Method Summary
 void checkPermissions(Path path, GraphSession.Authorizer.Action action)
          Throws an AccessControlException if the current user is not able to perform the action on the node at the supplied path in the current workspace.
 

Method Detail

checkPermissions

void checkPermissions(Path path,
                      GraphSession.Authorizer.Action action)
                      throws AccessControlException
Throws an AccessControlException if the current user is not able to perform the action on the node at the supplied path in the current workspace.

Parameters:
path - the path on which the actions are occurring
action - the action to check
Throws:
AccessControlException - if the user does not have permission to perform the actions


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.