Rio Project 4.2 API Documentation



org.rioproject.resources.util
Class SecurityPolicyLoader

java.lang.Object
  extended by org.rioproject.resources.util.SecurityPolicyLoader

public class SecurityPolicyLoader
extends Object

Utility class to load a security policy as a resource.

Author:
Dennis Reedy

Constructor Summary
SecurityPolicyLoader()
           
 
Method Summary
static void load(Class clazz, String policyName)
          Load and set the java.security.policy property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityPolicyLoader

public SecurityPolicyLoader()
Method Detail

load

public static void load(Class clazz,
                        String policyName)
Load and set the java.security.policy property

Parameters:
clazz - The Class that will be used to get the policy as a resource
policyName - The name of the policy file to load

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.