Results 1 to 2 of 2

Thread: GroupOfNames

  1. #1

    Default GroupOfNames

    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

  2. #2
    Join Date
    Mar 2005
    Location
    Landskrona, Sweden
    Posts
    505

    Default

    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.
    Mattias Arthursson
    Jayway AB (www.jayway.se)
    Spring-LDAP project member

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •