org.jboss.remoting3.security
Class RemotingPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
org.jboss.remoting3.security.RemotingPermission
- All Implemented Interfaces:
- Serializable, Guard
public class RemotingPermission
- extends BasicPermission
This class is for permissions relating to Remoting endpoints.
- See Also:
- Serialized Form
RemotingPermission
public RemotingPermission(String name)
throws NullPointerException,
IllegalArgumentException
- Creates a new
EndpointPermission object with the specified name.
The name is the symbolic name of the EndpointPermission.
- Parameters:
name - the name of the EndpointPermission
- Throws:
NullPointerException - if name is null
IllegalArgumentException - if name is empty
RemotingPermission
public RemotingPermission(String name,
String actions)
throws NullPointerException,
IllegalArgumentException
- Creates a new
EndpointPermission object with the specified name.
The name is the symbolic name of the EndpointPermission, and the
actions string is currently unused.
- Parameters:
name - the name of the EndpointPermissionactions - ignored
- Throws:
NullPointerException - if name is null
IllegalArgumentException - if name is empty
Copyright © 2010 JBoss, a division of Red Hat, Inc.