Package org.bgerp.plugin.sec.auth.config

# Class LDAPAttributes

java.lang.Object
org.bgerp.plugin.sec.auth.config.LDAPAttributes

public class LDAPAttributes extends Object
Supporting class for handling LDAP attributes.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`
  `String`
  `value(String name)`
  Single attribute value.
  `List<String>`
  `values(String name)`
  List of attribute values.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### value

    public String value(String name) throws NamingException
    Single attribute value.
    Parameters:
      `name` - name of attribute.
    Returns:
      first value of the attribute with `name` or `null` if no presented.
    Throws:
      `NamingException`

  - ### values

    public List<String> values(String name) throws NamingException
    List of attribute values.
    Parameters:
      `name` - name of attribute.
    Returns:
      unmodifiable list of values, never `null`.
    Throws:
      `NamingException`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`