Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.jini.io.context
Class ContextPermission

    java.lang.Object
      java.security.Permission
          net.jini.security.AccessPermission
              net.jini.io.context.ContextPermission

All Implemented Interfaces:
  Guard, Serializable

public final class ContextPermission
extends AccessPermission

Represents permissions used to express the access control policy for elements commonly found in the context collections available from `ServerContext` and `ObjectStreamContext`.

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 fully qualified name of the (interface) method being invoked on the context element. Wildcard matches are supported using the syntax specified by `AccessPermission`.

Since:
  2.0
See Also:
  Serialized Form

Constructor Summary
`ContextPermission(String name)` Creates an instance with the specified name.

Methods inherited from class net.jini.security.AccessPermission
`equals, getActions, hashCode, implies`

Methods inherited from class java.security.Permission
`checkGuard, getName, newPermissionCollection, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ContextPermission

    public ContextPermission(String name)

  Creates an instance with the specified name.

Parameters:
  `name` - the target name

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved