org.nuxeo.ecm.webengine.security.guards
Class ScriptGuard
java.lang.Object
org.nuxeo.ecm.webengine.security.guards.ScriptGuard
- All Implemented Interfaces:
- Guard
public class ScriptGuard
- extends Object
- implements Guard
- Author:
- Bogdan Stefanescu
Fields inherited from interface org.nuxeo.ecm.webengine.security.Guard |
DEFAULT |
script
protected String script
type
protected String type
src
protected String src
engine
protected javax.script.ScriptEngine engine
comp
protected javax.script.CompiledScript comp
ScriptGuard
protected ScriptGuard()
ScriptGuard
public ScriptGuard(String type,
String script)
check
public boolean check(Adaptable context)
- Specified by:
check
in interface Guard
booleanValue
protected static boolean booleanValue(Object obj)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010 Nuxeo SAS. All Rights Reserved.