public class AuthenticationData extends Object
DataReplicationOptions
Constructor and Description |
---|
AuthenticationData() |
Modifier and Type | Method and Description |
---|---|
String |
getDn()
Returns the Authentication DN.
|
HostPort |
getHostPort()
Returns the host name and port to connect to.
|
int |
getPort()
Returns the server LDAP port.
|
String |
getPwd()
Returns the authentication password.
|
void |
setDn(String dn)
Sets the Authentication DN.
|
void |
setHostPort(HostPort hostport)
Sets the host name to connect to.
|
void |
setPort(int port)
Sets the server LDAP port.
|
void |
setPwd(String pwd)
Sets the authentication password.
|
void |
setUseSecureConnection(boolean useSecureConnection)
Tells to use a secure connection or not.
|
boolean |
useSecureConnection()
Returns whether to use a secure connection or not.
|
public AuthenticationData()
public void setPort(int port)
port
- the server LDAP port.public int getPort()
public void setDn(String dn)
dn
- the Authentication DN.public String getPwd()
public void setPwd(String pwd)
pwd
- the authentication password.public HostPort getHostPort()
public void setHostPort(HostPort hostport)
hostport
- the host name and port to connect to.public boolean useSecureConnection()
true
if we must use a secure connection and
false
otherwise.public void setUseSecureConnection(boolean useSecureConnection)
useSecureConnection
- use a secure connection or not.Copyright 2010-2017 ForgeRock AS.