org.jppf.security
Class PermissionsFactory

java.lang.Object
  extended by org.jppf.security.PermissionsFactory

public final class PermissionsFactory
extends Object

This class is used to generate and obtain the permissions that constitute the security policy for a JPPF node.

Author:
Laurent Cohen

Method Summary
static PermissionCollection getExtendedPermissions(ClassLoader classLoader)
          Get the set of permissions granted to a node.
static PermissionCollection getPermissions(ClassLoader classLoader)
          Get the set of permissions granted to a node.
static void resetPermissions()
          Reset the current permissions to enable their reload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resetPermissions

public static void resetPermissions()
Reset the current permissions to enable their reload.

See Also:
Permissions

getPermissions

public static PermissionCollection getPermissions(ClassLoader classLoader)
Get the set of permissions granted to a node.

Parameters:
classLoader - the ClassLoader used to retrieve the policy file.
Returns:
a Permissions object.
See Also:
Permissions

getExtendedPermissions

public static PermissionCollection getExtendedPermissions(ClassLoader classLoader)
Get the set of permissions granted to a node.

Parameters:
classLoader - the ClassLoader used to retrieve the policy file.
Returns:
a Permissions object.
See Also:
Permissions


Copyright © 2005-2010 JPPF Team.