Class NameAttributesPair

java.lang.Object
com.atlassian.crowd.directory.ldap.mapper.NameAttributesPair

public class NameAttributesPair extends Object
This class is a light-weight version of DirContextAdapter, holding the name (distinguished name) and corresponding attributes for a directory entry.
Since:
5.3.0
  • Constructor Details

  • Method Details

    • getName

      public CrowdLdapName getName()
    • getAttributes

      public Attributes getAttributes()
    • getStringAttribute

      public String getStringAttribute(String name)
    • getObjectAttribute

      public Object getObjectAttribute(String name)
    • getAttributeValuesForName

      public List<String> getAttributeValuesForName(String name)
      Returns:
      null if the attribute doesn't exist. List otherwise (empty if the attribute has no values).
    • toString

      public String toString()
      Overrides:
      toString in class Object