Пример #1
0
  public static java.util.List getRegisteredFunctions(java.lang.String param0) {
    org.sakaiproject.authz.api.FunctionManager manager = getInstance();
    if (manager == null) return null;

    return manager.getRegisteredFunctions(param0);
  }
Пример #2
0
 /**
  * Bean initialization (called by spring) registers authorization functions with the AuthzGroup
  * system.
  */
 public void init() {
   if (log.isInfoEnabled()) log.info("init()");
   functionManager.registerFunction("section.role.student");
   functionManager.registerFunction("section.role.ta");
   functionManager.registerFunction("section.role.instructor");
 }
Пример #3
0
  public static void registerFunction(java.lang.String param0) {
    org.sakaiproject.authz.api.FunctionManager manager = getInstance();
    if (manager == null) return;

    manager.registerFunction(param0);
  }