Menu

Attributes returned by unboundid ldap sdk

Annapoorna
2014-02-13
2014-02-14
  • Annapoorna

    Annapoorna - 2014-02-13

    What are all the attribute values that can and cannot be retrieved using getAttributeValues()? Can unboundid modify all the attributes of users? If not what are all the attributes that can and cannot be modified?

     
  • Neil Wilson

    Neil Wilson - 2014-02-13

    I assume you're talking about the Entry.getAttributeValues method. That method can be called for any attribute. If the target attribute isn't present in the entry (either because it actually isn't in the entry, or because the server didn't include it in the entry that is returned to the client for one reason or another), then the method will return null.

    The set of attributes that can be altered in a server has absolutely nothing to do with the client API that you're using. The UnboundID LDAP SDK for Java, like I'm sure every other LDAP API that exists, can send a request to modify any attribute. Whether or not the server will successfully process that modification is dependent upon a number of factors, including the server's access control policy, whether the modification is valid based on the state of the entry being modified, whether the modification would result in a schema violation, whether the attribute is marked NO-USER-MODIFICATION in the server schema, etc.

     
    • Annapoorna

      Annapoorna - 2014-02-14

      Thank you so much for the reply!

       

Log in to post a comment.