Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.security.guards
Class ScriptGuard

java.lang.Object
  extended by org.nuxeo.ecm.webengine.security.guards.ScriptGuard
All Implemented Interfaces:
Guard

public class ScriptGuard
extends Object
implements Guard

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.webengine.security.Guard
DEFAULT
 
Constructor Summary
ScriptGuard(String type, String script)
           
 
Method Summary
 boolean check(Adaptable context)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptGuard

public ScriptGuard(String type,
                   String script)
Method Detail

check

public boolean check(Adaptable context)
Specified by:
check in interface Guard

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.