public class AuthenticationData extends Object
DataReplicationOptions
Constructor and Description |
---|
AuthenticationData() |
Modifier and Type | Method and Description |
---|---|
String |
getDn()
Returns the Authentication DN.
|
String |
getHostName()
Returns the host name 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 |
setHostName(String hostName)
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 String getHostName()
public void setHostName(String hostName)
hostName
- the host name 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-2016 ForgeRock AS. All Rights Reserved.