public class NumSubordinateHacker extends Object
| Constructor and Description |
|---|
NumSubordinateHacker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(LDAPURL url)
Tells whether the list of unreliable contains the entry with LDAPURL url.
|
boolean |
containsChildrenOf(LDAPURL parentUrl)
Tells whether the list of unreliable contains children of
the entry with LDAPUrl parentUrl.
|
void |
update(Collection<DN> allSuffixes,
Collection<DN> rootSuffixes,
String serverHost,
int serverPort)
This method construct a list with the entries the entries that are parents
of the suffix entries.
|
public NumSubordinateHacker()
public boolean containsChildrenOf(LDAPURL parentUrl)
parentUrl - the LDAPURL of the parent.true if the list of unreliable entries contains a
children of the parentUrl. Returns false otherwise.public boolean contains(LDAPURL url)
url - the LDAPURL of the parent.true if the url correspond to an unreliable
entry and false otherwise.public void update(Collection<DN> allSuffixes, Collection<DN> rootSuffixes, String serverHost, int serverPort)
allSuffixes - a collection with all the suffixes.rootSuffixes - a collection with the root suffixes.serverHost - the name of the host where the server is installed.serverPort - the LDAP(s) port of the server.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.