org.jboss.test.security
Class NothingPolicyPlugin
java.lang.Object
java.security.Policy
org.jboss.test.security.PolicyPlugin
org.jboss.test.security.NothingPolicyPlugin
public class NothingPolicyPlugin
- extends PolicyPlugin
A Test PolicyPlugin.
- Version:
- $Revision: 56504 $
- Author:
- Adrian Brock
Constructor Summary |
NothingPolicyPlugin(Class clazz)
This ctor scans for properties using the TypeHierarchyTraversal and
PropertiesVisitorImpl to pickup testclass specific permissions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NothingPolicyPlugin
public NothingPolicyPlugin(Class clazz)
- This ctor scans for properties using the TypeHierarchyTraversal and
PropertiesVisitorImpl to pickup testclass specific permissions. Only
class/interfaces properties are currently consulted for properties of
the form 'test.Permission.N' where N=[0-9]+
The value format of the test.Permission.N property is:
perm-class, name [, actions]
which conforms to the BasicPermission(String name, String actions) and
BasicPermission(String name) sigs.
- Parameters:
clazz
-
getPermissions
public PermissionCollection getPermissions(CodeSource codesource)
- Overrides:
getPermissions
in class Policy
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.