|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.ldappc.synchronize.StringMembershipSynchronizer
public class StringMembershipSynchronizer
This synchronizes memberships stored in the directory as strings in an attribute.
| Constructor Summary | |
|---|---|
StringMembershipSynchronizer(Ldappc ldappc,
String subject)
Constructs a StringMembershipSynchronizer. |
|
| Method Summary | |
|---|---|
String |
calculateLdif(Set<String> groupNames)
|
protected void |
commit()
This commits any changes not already committed to the directory. |
String |
getSubject()
Get the DN of the subject. |
protected void |
initialize()
Perform any initialization prior to processing the set of permissions. |
protected void |
populate()
This populates this object with the current values from the subject's LDAP entry. |
void |
synchronize(Set<String> groupNames)
Synchronizes the groups with those in the directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringMembershipSynchronizer(Ldappc ldappc,
String subject)
throws NamingException,
ConfigurationException
StringMembershipSynchronizer.
ctx - Ldap context to use for provisioningsubject - DN of the subject whose memberships are being provisionedconfiguration - Signet provisioning configurationoptions - Signet provisioning optionssubjectCache - Subject cache to speed subject retrieval
NamingException - thrown if a naming exception occurs.
ConfigurationException - thrown if the configuration isn't correct.| Method Detail |
|---|
public void synchronize(Set<String> groupNames)
throws NamingException,
LdappcException
groupNames - Set of group names
NamingException - thrown if a Naming error occurs
MultiErrorException - thrown if one or more exceptions occurred that did not need to stop all
processing
LdappcException - thrown if an error occurs
public String calculateLdif(Set<String> groupNames)
throws LdappcException,
NamingException
LdappcException
NamingException
protected void initialize()
throws NamingException,
LdappcException
NamingException - thrown if a Naming error occurs
LdappcException - thrown if an error occursedu.internet2.middleware.ldappc.synchronize.PermissionSynchronizer#initialize()
protected void populate()
throws NamingException
NamingException - thrown if a Naming error occurs
protected void commit()
throws NamingException,
LdappcException
NamingException - thrown if a Naming error occurs
LdappcException - thrown if an error occursedu.internet2.middleware.ldappc.synchronize.MembershipSynchronizer#commit()public String getSubject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||