Does the ldaptemplate support GroupOfNames functionality.
For example a role objectClass which is a groupOfNames
and contains the following attributes
cn=SuperUser
member=cn=Administrator,ou=roles
member=cn=Operator,ou=roles
Cheers,
Tim
Does the ldaptemplate support GroupOfNames functionality.
For example a role objectClass which is a groupOfNames
and contains the following attributes
cn=SuperUser
member=cn=Administrator,ou=roles
member=cn=Operator,ou=roles
Cheers,
Tim
There's really nothing special with the GroupOfNames objectclass. Just set multiple values to the 'member' attribute. The easiest way is to use DirContextAdapter and the setAttributeValues() method, but there's always the option of building the Attributes manually if you'd rather do that.