Class DirectoryUser

    • Field Detail

      • dn

        public final com.unboundid.ldap.sdk.DN dn
        The distinguished name (DN) of the directory user DN. A DN.NULL_DN value represents an anonymous user.

        Property key: [prefix]dn

      • password

        public final String password
        The directory user password. An empty string represents an anonymous user.

        Property key: [prefix]password

    • Constructor Detail

      • DirectoryUser

        public DirectoryUser​(String prefix,
                             Properties props)
                      throws com.thetransactioncompany.util.PropertyParseException
        Creates a new directory user from the specified properties.

        Mandatory properties:

        • [prefix]dn
        • [prefix]password
        Parameters:
        prefix - The properties prefix. Must not be null.
        props - The properties. Must not be null.
        Throws:
        com.thetransactioncompany.util.PropertyParseException - On a missing or invalid property.
      • DirectoryUser

        public DirectoryUser​(com.unboundid.ldap.sdk.DN dn,
                             String password)
        Creates a new directory user.
        Parameters:
        dn - The distinguished name (DN) of the directory user DN. A DN.NULL_DN value represents an anonymous user. Must not be null.
        password - The directory user password. An empty string represents an anonymous user.