public final class ConnectionParameters extends Object
| Modifier and Type | Method and Description |
|---|---|
ConnectionParameters |
adminPassword(String password)
Sets the password of the Global Administrator to use to bind to the server.
|
ConnectionParameters |
adminPort(int port)
Sets the port for directory server administration.
|
ConnectionParameters |
adminUid(String uid)
Sets the user id of the Global Administrator to use to bind to the server.
|
ConnectionParameters |
bindDn(String dn)
Sets the Dn to use to bind to the directory server.
|
ConnectionParameters |
bindPassword(String password)
Sets the password to use to bind to the directory server.
|
static ConnectionParameters |
connectionParams()
Creates connection parameters.
|
ConnectionParameters |
hostName(String hostName)
Sets the the fully-qualified directory server host name.
|
ConnectionParameters |
ldapPort(int port)
Sets the port on which the directory server listens for LDAP communication.
|
ConnectionParameters |
ldapSecurePort(int port)
Sets the port on which the directory server listens for LDAPS (secure) communication.
|
String |
toString() |
public static ConnectionParameters connectionParams()
public ConnectionParameters adminPassword(String password)
password - the passwordpublic ConnectionParameters adminPort(int port)
port - the admin portpublic ConnectionParameters adminUid(String uid)
uid - the user idpublic ConnectionParameters bindDn(String dn)
dn - the bind Dnpublic ConnectionParameters bindPassword(String password)
password - the bind passwordpublic ConnectionParameters hostName(String hostName)
hostName - the hostName of the serverpublic ConnectionParameters ldapPort(int port)
port - the LDAP portpublic ConnectionParameters ldapSecurePort(int port)
port - the LDAPS portCopyright © 2010-2020 Wren Security. All Rights Reserved.