ADK CVS

tryllian.naming
Class JNDIPermission

java.lang.Object
  extended byjava.security.Permission
      extended byjava.security.BasicPermission
          extended bytryllian.are.security.BasicAREPermission
              extended bytryllian.naming.JNDIPermission
All Implemented Interfaces:
java.security.Guard, java.io.Serializable

public class JNDIPermission
extends BasicAREPermission

With the JNDIPermission, agents can access restricted parts of the ARE JNDI provider. It contains a target and no actions; you either have the permission, or you don't.

Currently, the only allowed target is modifyJNDI.

See Also:
Serialized Form

Constructor Summary
JNDIPermission()
          Creates a JNDIPermission for all targets, no actions.
JNDIPermission(java.lang.String target)
          Creates a new JNDIPermission for a specific target, no actions.
JNDIPermission(java.lang.String target, java.lang.String actions)
          Creates a new JNDIPermission.
 
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

JNDIPermission

public JNDIPermission()
Creates a JNDIPermission for all targets, no actions.


JNDIPermission

public JNDIPermission(java.lang.String target)
Creates a new JNDIPermission for a specific target, no actions.


JNDIPermission

public JNDIPermission(java.lang.String target,
                      java.lang.String actions)
Creates a new JNDIPermission.


Copyright 2005, Tryllian Solutions B.V.