Class LoadedPermissionFactory

java.lang.Object
org.jboss.modules.security.LoadedPermissionFactory
All Implemented Interfaces:
PermissionFactory

public final class LoadedPermissionFactory extends Object implements PermissionFactory
A permission factory which instantiates a permission with the given class name.
Author:
David M. Lloyd
  • Constructor Details

    • LoadedPermissionFactory

      public LoadedPermissionFactory(ClassLoader classLoader, String className, String targetName, String permissionActions)
      Construct a new instance.
      Parameters:
      classLoader - the class loader from which the permission should be loaded
      className - the name of the permission class
      targetName - the name to pass to the permission class constructor or null for none
      permissionActions - the action list to pass to the permission class constructor or null for none
  • Method Details