java.rmi.registry
Class RegistryPermission
java.lang.Object
|
+--java.security.Permission
|
+--java.security.BasicPermission
|
+--java.rmi.registry.RegistryPermission
- All Implemented Interfaces:
- java.security.Guard, java.io.Serializable
- public class RegistryPermission
- extends java.security.BasicPermission
Represents permissions used to express the default access control policy
for a secure registry. 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 |
RegistryPermission(java.lang.String name)
Creates an instance with the specified name. |
RegistryPermission(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 |
RegistryPermission
public RegistryPermission(java.lang.String name)
- Creates an instance with the specified name.
- Parameters:
name
- the target name
RegistryPermission
public RegistryPermission(java.lang.String name,
java.lang.String actions)
- Creates an instance with the specified name. The actions parameter is
ignored.
- Parameters:
name
- the target nameactions
- ignored
Copyright © 2000 Sun Microsystems, Inc. All rights reserved