1 16 package org.directwebremoting.extend; 17 18 import java.lang.reflect.Method ; 19 20 24 public interface AccessControl 25 { 26 40 void assertExecutionIsPossible(Creator creator, String className, Method method) throws SecurityException ; 41 42 59 void assertIsDisplayable(Creator creator, String className, Method method) throws SecurityException ; 60 61 68 void addRoleRestriction(String scriptName, String methodName, String role); 69 70 82 void addIncludeRule(String scriptName, String methodName); 83 84 90 void addExcludeRule(String scriptName, String methodName); 91 } 92 | Popular Tags |