org.modeshape.graph.session
Class GraphSession.NoOpAuthorizer
java.lang.Object
org.modeshape.graph.session.GraphSession.NoOpAuthorizer
- All Implemented Interfaces:
- GraphSession.Authorizer
- Enclosing class:
- GraphSession<Payload,PropertyPayload>
@ThreadSafe
protected static class GraphSession.NoOpAuthorizer
- extends Object
- implements GraphSession.Authorizer
GraphSession.Authorizer
implementation that does nothing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphSession.NoOpAuthorizer
protected GraphSession.NoOpAuthorizer()
checkPermissions
public 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.
- Specified by:
checkPermissions
in interface GraphSession.Authorizer
- Parameters:
path
- the path on which the actions are occurringaction
- the action to check
- Throws:
AccessControlException
- if the user does not have permission to perform the actions- See Also:
GraphSession.Authorizer.checkPermissions(org.modeshape.graph.property.Path,
org.modeshape.graph.session.GraphSession.Authorizer.Action)
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.