org.opends.server.authorization.dseecompat
Class ParentInheritance

java.lang.Object
  extended by org.opends.server.authorization.dseecompat.ParentInheritance

public class ParentInheritance
extends java.lang.Object

This class is used by USERDN and GROUPDN userattr types to determine what parent inheritance checks to make.


Method Summary
 AttributeType getAttributeType()
          Return the attribute type.
 java.lang.String getAttrTypeStr()
          Return the string representation of the attribute type.
 DN getBaseDN()
          Return the DN that groupdn must be under.
 int[] getLevels()
          Returns an array of levels, where levels are integers.
 int getNumLevels()
          Returns the number of levels counted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNumLevels

public int getNumLevels()
Returns the number of levels counted.

Returns:
The number of levels.

getLevels

public int[] getLevels()
Returns an array of levels, where levels are integers.

Returns:
Return an array of levels.

getAttributeType

public AttributeType getAttributeType()
Return the attribute type.

Returns:
The attribute type.

getAttrTypeStr

public java.lang.String getAttrTypeStr()
Return the string representation of the attribute type.

Returns:
The attribute type string.

getBaseDN

public DN getBaseDN()
Return the DN that groupdn must be under.

Returns:
DN that groupdn must be under.