Package com.isode.dsapi.aci
Class SimpleACIWorld.ACSA
java.lang.Object
com.isode.dsapi.aci.SimpleACIWorld.ACSA
- All Implemented Interfaces:
Comparable<SimpleACIWorld.ACSA>
- Enclosing class:
- SimpleACIWorld
ACSA: Access Control Specific Area.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal DN
Logical base DN of ACSA.boolean
Is this an AAP? 'true' for AAP, 'false' for plain ACSA.boolean
Is this a BAC area? Default is 'false' for SAC, which is the preferred mode.Type of ACSA at point of load(), i.e.Type of ACSA that will be set by save(). -
Constructor Summary
ConstructorsConstructorDescriptionACSA
(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. -
Method Summary
Modifier and TypeMethodDescriptionint
Ordering by DN.boolean
Equality tests all active values.Get a descriptive string.Get the logical base DN, which means the DN of the subtree where the ACSA behaves as if it exists.Get the physical base DN, which means the DN of the ACSA entry and subentries.int
hashCode()
Hashcode.boolean
Test whether this is the root ACSA.toString()
Debugging dump.
-
Field Details
-
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
Type of ACSA at point of load(), i.e. original type. -
isBAC
public boolean isBACIs this a BAC area? Default is 'false' for SAC, which is the preferred mode. -
isAAP
public boolean isAAPIs this an AAP? 'true' for AAP, 'false' for plain ACSA.
-
-
Constructor Details
-
ACSA
Constructor for global ACSA, originally existing (Type.GLOBAL) or non-existing (Type.NONE) according to argument.- Parameters:
base
- DN of ACSAorig_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
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
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
Ordering by DN.- Specified by:
compareTo
in interfaceComparable<SimpleACIWorld.ACSA>
-
equals
Equality tests all active values. -
hashCode
public int hashCode()Hashcode. -
getDescription
Get a descriptive string. -
toString
Debugging dump.
-