JAAS Provider Java API Reference
10g (9.0.4.0.0)

B10389-01

oracle.security.jazn.policy
Class PrincipalClassDesc

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

public class PrincipalClassDesc
extends Object

This class defines the descriptor (meta-data) of a Principal 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
          Oracle class type.

 

Constructor Summary
PrincipalClassDesc(int type, oracle.security.jazn.util.ItemDesc classDesc, Collection nameDesc)
          Creates a new PrincipalClassDesc instance.
PrincipalClassDesc(int type, oracle.security.jazn.util.ItemDesc classDesc, oracle.security.jazn.util.NVPair[] nameDesc)
          Creates a new PrincipalClassDesc instance.

 

Method Summary
 oracle.security.jazn.util.ItemDesc getClassDesc()
          Returns the class descriptor
 Collection getNameDesc()
          Returns the name descriptor
 int getType()
          Returns the type of this Principal 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
Oracle 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

PrincipalClassDesc

public PrincipalClassDesc(int type,
                          oracle.security.jazn.util.ItemDesc classDesc,
                          oracle.security.jazn.util.NVPair[] nameDesc)
Creates a new PrincipalClassDesc instance.

PrincipalClassDesc

public PrincipalClassDesc(int type,
                          oracle.security.jazn.util.ItemDesc classDesc,
Collection nameDesc)
Creates a new PrincipalClassDesc instance.
Method Detail

getType

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

getClassDesc

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

getNameDesc

public Collection getNameDesc()
Returns the name descriptor
Returns:
the name 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.