JAAS Provider Java API Reference
10g (9.0.4.0.0)

B10389-01

oracle.security.jazn.policy
Class PermissionClassDesc

java.lang.Object
  |
  +--oracle.security.jazn.policy.PermissionClassDesc

public class PermissionClassDesc
extends Object

This class defines the descriptor (meta-data) for a Permission class.

NOTE: This interface is for Oracle-internal use only and is subject to change without notice.


Field Summary
static int TYPE_EXT
          External class type.
static int TYPE_JAZN
          JAZN class type
static int TYPE_JDK
          JDK class type.
static int TYPE_ORCL
          ORCL class type.

 

Constructor Summary
PermissionClassDesc(int type, oracle.security.jazn.util.ItemDesc classDesc, Collection targetsDesc, Collection actionsDesc)
          Creates new PermissionClassDesc instance.
PermissionClassDesc(int type, oracle.security.jazn.util.ItemDesc classDesc, oracle.security.jazn.util.NVPair[] targetsDesc, oracle.security.jazn.util.NVPair[] actionsDesc)
          Creates new PermissionClassDesc instance.

 

Method Summary
 Collection getActionsDesc()
          Returns the actions descriptor
 oracle.security.jazn.util.ItemDesc getClassDesc()
          Returns the class descriptor
 Collection getTargetsDesc()
          Returns the targets descriptor
 int getType()
          Returns the type of this Permission Class
 String toString()
           
 void writeXML(int indentation, Writer writer)
          Serializes the content of this descriptor to the specified writer.
 void writeXML(Writer writer)
          Serializes the content of this descriptor to the specified writer.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

TYPE_JDK

public static final int TYPE_JDK
JDK class type.
See Also:
Constant Field Values

TYPE_JAZN

public static final int TYPE_JAZN
JAZN class type
See Also:
Constant Field Values

TYPE_ORCL

public static final int TYPE_ORCL
ORCL class type.
See Also:
Constant Field Values

TYPE_EXT

public static final int TYPE_EXT
External class type.
See Also:
Constant Field Values
Constructor Detail

PermissionClassDesc

public PermissionClassDesc(int type,
                           oracle.security.jazn.util.ItemDesc classDesc,
                           oracle.security.jazn.util.NVPair[] targetsDesc,
                           oracle.security.jazn.util.NVPair[] actionsDesc)
Creates new PermissionClassDesc instance.

PermissionClassDesc

public PermissionClassDesc(int type,
                           oracle.security.jazn.util.ItemDesc classDesc,
Collection targetsDesc,
Collection actionsDesc)
Creates new PermissionClassDesc instance.
Method Detail

getType

public int getType()
Returns the type of this Permission Class
Returns:
the type of this Permission Class

getClassDesc

public oracle.security.jazn.util.ItemDesc getClassDesc()
Returns the class descriptor
Returns:
the class descriptor

getTargetsDesc

public Collection getTargetsDesc()
Returns the targets descriptor
Returns:
the targets descriptor

getActionsDesc

public Collection getActionsDesc()
Returns the actions descriptor
Returns:
the actions descriptor

writeXML

public void writeXML(Writer writer)
              throws IOException
Serializes the content of this descriptor to the specified writer.
Parameters:
writer - the specified writer
IOException

writeXML

public void writeXML(int indentation,
Writer writer)
              throws IOException
Serializes the content of this descriptor to the specified writer.
Parameters:
indentation - the indentation level
writer - the specified writer
IOException

toString

public String toString()
Overrides:
toString in class Object

JAAS Provider Java API Reference
10g (9.0.4.0.0)

B10389-01

Copyright 2002, 2003 Oracle Corporation. All Rights Reserved.