org.jboss.kernel.plugins.util
Class KernelLocatorPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
org.jboss.kernel.plugins.util.KernelLocatorPermission
- All Implemented Interfaces:
- Serializable, Guard
public class KernelLocatorPermission
- extends BasicPermission
This permission represents "trust" in a signer or codebase.
It contains a target name but no actions list. The targets are
kernel - access the kernel
* - all allowed access
- Version:
- $Revision: 57306 $
- Author:
- Scott.Stark@jboss.org
- See Also:
- Serialized Form
KernelLocatorPermission
public KernelLocatorPermission(String name)
- Create a new Permission
- Parameters:
name
- the target
- Throws:
IllegalArgumentException
- for invalid name
NullPointerException
- for null name
KernelLocatorPermission
public KernelLocatorPermission(String name,
String actions)
- Create a new Permission
- Parameters:
name
- the targetactions
- the actions
- Throws:
IllegalArgumentException
- for an invalid name or target
NullPointerException
- for null name
toString
public String toString()
- Overrides:
toString
in class Permission
- Returns:
- human readable string.
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.