org.nuxeo.ecm.webengine.security
Class PermissionService
java.lang.Object
org.nuxeo.ecm.webengine.security.PermissionService
- All Implemented Interfaces:
- PostfixExpression.Visitor
public class PermissionService
- extends Object
- implements PostfixExpression.Visitor
- Author:
- Bogdan Stefanescu
getInstance
public static PermissionService getInstance()
registerGuard
public void registerGuard(String name,
Guard guard)
unregisterGuard
public Guard unregisterGuard(String name)
getGuard
public Guard getGuard(String name)
parse
public static Guard parse(String expr)
throws ParseException
- Throws:
ParseException
parse
public Guard parse(String expr,
Map<String,Guard> localGuards)
throws ParseException
- Throws:
ParseException
createOperation
public Object createOperation(PostfixExpression.Token token,
Object lparam,
Object rparam)
- Specified by:
createOperation
in interface PostfixExpression.Visitor
createParameter
public Object createParameter(PostfixExpression.Token token)
- Specified by:
createParameter
in interface PostfixExpression.Visitor
Copyright © 2011 Nuxeo SAS. All Rights Reserved.