LoggableConfiguration
public class DirectoryUser extends Object implements LoggableConfiguration
The configuration is stored as public fields which become immutable (final) after their initialisation.
Property keys: [prefix]*
Modifier and Type | Field | Description |
---|---|---|
com.unboundid.ldap.sdk.DN |
dn |
The distinguished name (DN) of the directory user DN.
|
String |
password |
The directory user password.
|
LOG_CATEGORY
Constructor | Description |
---|---|
DirectoryUser(com.unboundid.ldap.sdk.DN dn,
String password) |
Creates a new directory user.
|
DirectoryUser(String prefix,
Properties props) |
Creates a new directory user from the specified properties.
|
public final com.unboundid.ldap.sdk.DN dn
DN.NULL_DN
value represents an anonymous user.
Property key: [prefix]dn
public DirectoryUser(String prefix, Properties props) throws com.thetransactioncompany.util.PropertyParseException
Mandatory properties:
prefix
- The properties prefix. Must not be null
.props
- The properties. Must not be null
.com.thetransactioncompany.util.PropertyParseException
- On a missing or invalid property.public DirectoryUser(com.unboundid.ldap.sdk.DN dn, String password)
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.public void log()
log
in interface LoggableConfiguration
Copyright © 2018 Connect2id. All rights reserved.