Rio Project 4.2 API Documentation
org.rioproject.resources.util
Class SecurityPolicyLoader
java.lang.Object
org.rioproject.resources.util.SecurityPolicyLoader
public class SecurityPolicyLoader
- extends Object
Utility class to load a security policy as a resource.
- Author:
- Dennis Reedy
|
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 |
SecurityPolicyLoader
public SecurityPolicyLoader()
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 resourcepolicyName - The name of the policy file to load
Copyright © 2006-2011 Rio Project. All Rights Reserved.