Class AclManagerFactory

java.lang.Object
com.webmethods.portal.service.access.AclManagerFactory

public class AclManagerFactory extends Object
For backward compatibility, adapts the IAclManagerFactory OSGi service to the old AclManagerFactory static methods.
  • Constructor Details

    • AclManagerFactory

      public AclManagerFactory()
  • Method Details

    • getAvailableAclManagers

      public static String[] getAvailableAclManagers() throws Exception
      Throws:
      Exception
    • createAclManager

      public static IAclManager createAclManager(String resourceType) throws Exception
      Creates an acl manager for the specified resource type. Acl manager is created using super user context
      Throws:
      Exception
    • createAclManager

      public static IAclManager createAclManager(String userID, String resourceType) throws Exception
      Creates an acl manager for the specified resource type using specified user context. Depending on the permissions user may not be able to search on certain objects or set permissions on them
      Throws:
      Exception