Class SimpleACIWorld.ACSA

java.lang.Object
com.isode.dsapi.aci.SimpleACIWorld.ACSA
All Implemented Interfaces:
Comparable<SimpleACIWorld.ACSA>
Enclosing class:
SimpleACIWorld

public static class SimpleACIWorld.ACSA extends Object implements Comparable<SimpleACIWorld.ACSA>
ACSA: Access Control Specific Area.
  • Field Details

    • base

      public final DN base
      Logical base DN of ACSA. This is the same as the physical base DN for all ACSAs except the root ACSA, whose subentries and operational attributes are stored elsewhere.
    • type

      Type of ACSA that will be set by save().
    • orig_type

      public SimpleACIWorld.ACSA.Type orig_type
      Type of ACSA at point of load(), i.e. original type.
    • isBAC

      public boolean isBAC
      Is this a BAC area? Default is 'false' for SAC, which is the preferred mode.
    • isAAP

      public boolean isAAP
      Is this an AAP? 'true' for AAP, 'false' for plain ACSA.
  • Constructor Details

    • ACSA

      public ACSA(DN base, SimpleACIWorld.ACSA.Type orig_type, SimpleACIWorld.ACSA.Type curr_type)
      Constructor for global ACSA, originally existing (Type.GLOBAL) or non-existing (Type.NONE) according to argument.
      Parameters:
      base - DN of ACSA
      orig_type - Original type at point of loading (Type.NONE or Type.GLOBAL)
      curr_type - Type at current time
  • Method Details

    • isRootACSA

      public boolean isRootACSA()
      Test whether this is the root ACSA.
      Returns:
      true: root ACSA, false: some other ACSA
    • getLogicalBase

      public DN getLogicalBase()
      Get the logical base DN, which means the DN of the subtree where the ACSA behaves as if it exists. This only differs from the physical base DN for the root ACSA whose subentries are stored elsewhere.
      Returns:
      Logical base DN
    • getPhysicalBase

      public DN getPhysicalBase()
      Get the physical base DN, which means the DN of the ACSA entry and subentries. This only differs from the logical base DN in the case of the root ACSA.
      Returns:
      Physical base DN
    • compareTo

      public int compareTo(SimpleACIWorld.ACSA bb)
      Ordering by DN.
      Specified by:
      compareTo in interface Comparable<SimpleACIWorld.ACSA>
    • equals

      public boolean equals(Object oo)
      Equality tests all active values.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Hashcode.
      Overrides:
      hashCode in class Object
    • getDescription

      public String getDescription()
      Get a descriptive string.
    • toString

      public String toString()
      Debugging dump.
      Overrides:
      toString in class Object
      Returns:
      Debugging dump