java.rmi.activation
Class ActivationPermission

java.lang.Object
  |
  +--java.security.Permission
        |
        +--java.security.BasicPermission
              |
              +--java.rmi.activation.ActivationPermission
All Implemented Interfaces:
java.security.Guard, java.io.Serializable

public class ActivationPermission
extends java.security.BasicPermission

Represents permissions used to express the default access control policy for a secure activation daemon. An instance contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't. The convention is that the target name is the name of the remote method being invoked. An asterisk may appear at the end of the target name, following a "." or by itself, to signify a wildcard match.

Since:
1.4
See Also:
Serialized Form

Constructor Summary
ActivationPermission(java.lang.String name)
          Creates an instance with the specified name.
ActivationPermission(java.lang.String name, java.lang.String actions)
          Creates an instance with the specified name.
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivationPermission

public ActivationPermission(java.lang.String name)
Creates an instance with the specified name.
Parameters:
name - the target name

ActivationPermission

public ActivationPermission(java.lang.String name,
                            java.lang.String actions)
Creates an instance with the specified name. The actions parameter is ignored.
Parameters:
name - the target name
actions - ignored


Copyright © 2000 Sun Microsystems, Inc. All rights reserved