|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.AciList
public class AciList
The AciList class performs caching of the ACI attribute values using the entry DN as the key.
Constructor Summary | |
---|---|
AciList(DN configDN)
Constructor to create an ACI list to cache ACI attribute types. |
Method Summary | |
---|---|
void |
addAci(DN dn,
java.util.SortedSet<Aci> acis)
Add a set of ACIs to the ACI list. |
int |
addAci(Entry entry,
boolean hasAci,
boolean hasGlobalAci,
java.util.LinkedList<Message> failedACIMsgs)
Add all of an entry's ACI (global or regular) attribute values to the ACI list. |
int |
addAci(java.util.List<? extends Entry> entries,
java.util.LinkedList<Message> failedACIMsgs)
Add all the ACI from a set of entries to the ACI list. |
java.util.LinkedList<Aci> |
getCandidateAcis(DN baseDN)
Using the base DN, return a list of ACIs that are candidates for evaluation by walking up from the base DN towards the root of the DIT gathering ACIs on parents. |
void |
modAciOldNewEntry(Entry oldEntry,
Entry newEntry,
boolean hasAci,
boolean hasGlobalAci)
Remove all of the ACIs related to the old entry and then add all of the ACIs related to the new entry. |
void |
removeAci(Backend backend)
Remove all ACIs related to a backend. |
boolean |
removeAci(Entry entry,
boolean hasAci,
boolean hasGlobalAci)
Remove global and regular ACIs from the list. |
void |
renameAci(DN oldDN,
DN newDN)
Rename all ACIs under the specified old DN to the new DN. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AciList(DN configDN)
configDN
- The configuration entry DN.Method Detail |
---|
public java.util.LinkedList<Aci> getCandidateAcis(DN baseDN)
baseDN
- The DN to check.
public int addAci(java.util.List<? extends Entry> entries, java.util.LinkedList<Message> failedACIMsgs)
entries
- The set of entries containing the "aci" attribute values.failedACIMsgs
- List that will hold error messages from ACI decode
exceptions.
public void addAci(DN dn, java.util.SortedSet<Aci> acis)
dn
- The DN to add the ACIs under.acis
- A set of ACIs to add to the ACI list.public int addAci(Entry entry, boolean hasAci, boolean hasGlobalAci, java.util.LinkedList<Message> failedACIMsgs)
entry
- The entry containing the ACI attributes.hasAci
- True if the "aci" attribute type was seen in the entry.hasGlobalAci
- True if the "ds-cfg-global-aci" attribute type was
seen in the entry.failedACIMsgs
- List that will hold error messages from ACI decode
exceptions.
public void modAciOldNewEntry(Entry oldEntry, Entry newEntry, boolean hasAci, boolean hasGlobalAci)
oldEntry
- The old entry possibly containing old ACI attribute
values.newEntry
- The new entry possibly containing new ACI attribute
values.hasAci
- True if the "aci" attribute type was seen in the entry.hasGlobalAci
- True if the "ds-cfg-global-aci" attribute type was
seen in the entry.public boolean removeAci(Entry entry, boolean hasAci, boolean hasGlobalAci)
entry
- The entry containing the global ACIs.hasAci
- True if the "aci" attribute type was seen in the entry.hasGlobalAci
- True if the "ds-cfg-global-aci" attribute type was
seen in the entry.
public void removeAci(Backend backend)
backend
- The backend to check if each DN is handled by that
backend.public void renameAci(DN oldDN, DN newDN)
oldDN
- The DN of the original entry that was moved.newDN
- The DN of the new entry.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |