ADK CVS

tryllian.are.security
Class BasicAREPermission

java.lang.Object
  extended byjava.security.Permission
      extended byjava.security.BasicPermission
          extended bytryllian.are.security.BasicAREPermission
All Implemented Interfaces:
java.security.Guard, java.io.Serializable
Direct Known Subclasses:
HabitatEntryPermission, JNDIPermission, PersistencePermission, TrustedAgentPermission

public class BasicAREPermission
extends java.security.BasicPermission

The Permission class for all ARE Permissions that follow the pattern of java.security.BasicPermission.

Currently, the following permissions are used by the ARE:

tryllian.are.DelegationWrapper.construct
The right to constructor a DelegationWrapper object; the DelegationWrapper exposes package-local fields in tryllian.are.* classes.

See Also:
Serialized Form

Constructor Summary
BasicAREPermission(java.lang.String name)
          Creates a new AREPermission with the specified name.
BasicAREPermission(java.lang.String name, java.lang.String actions)
          Creates a new AREPermission 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

BasicAREPermission

public BasicAREPermission(java.lang.String name)
Creates a new AREPermission with the specified name. Name is the symbolic name of the permission, and must start with the package or classname in which the permission is primarily used, unless it is a very general permission. Examples: "tryllian.are.DelegationWrapper.construct" A '*' character may appear at the end of the name, following a '.', or by itself, to signify a wildcard match.

Parameters:
name - the name of the permission.

BasicAREPermission

public BasicAREPermission(java.lang.String name,
                          java.lang.String actions)
Creates a new AREPermission with the specified name. The actions parameter is ignored; this constructor is only present because Policies expects a constructor with these argument types to constructor permissions from files or other textual sources.

Parameters:
name - the name of the BasicAREPermission.
actions - is ignored.

Copyright 2005, Tryllian Solutions B.V.