|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zeroturnaround.liverebel.api.impl.LdapDomainCreationImpl
public class LdapDomainCreationImpl
| Field Summary | |
|---|---|
protected RestConnection |
con
|
protected JsonParser |
parser
|
| Constructor Summary | |
|---|---|
LdapDomainCreationImpl(RestConnection con,
JsonParser parser,
String name)
|
|
| Method Summary | |
|---|---|
void |
execute()
Creates the domain. |
LdapDomainCreation |
host(String host,
int port,
boolean secure)
Configures the address of the LDAP host (Required). |
LdapDomainCreation |
manager(String distinguishedName,
String password)
Configures the LDAP user that can be used to search for other users (Required). |
LdapDomainCreation |
userBase(String userBase)
Sets the base distinguished name for the user search (Required). For example: dc=yourcompany,dc=com |
LdapDomainCreation |
userIdField(String userIdField)
Sets the field name in the LDAP server that the user ID will be matched against (Required). For example: userPrincipalName, sAMAccountName or uid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final RestConnection con
protected final JsonParser parser
| Constructor Detail |
|---|
public LdapDomainCreationImpl(RestConnection con,
JsonParser parser,
String name)
| Method Detail |
|---|
public LdapDomainCreation host(String host,
int port,
boolean secure)
LdapDomainCreation
host in interface LdapDomainCreationhost - Host of the LDAP serverport - Port of the LDAP server (default is 389 for LDAP and 636 for LDAPS)secure - If true, the more secure LDAPS protocol is used instead of plain LDAP (Recommended)
public LdapDomainCreation manager(String distinguishedName,
String password)
LdapDomainCreation
manager in interface LdapDomainCreationdistinguishedName - The user's distinguished name.password - The user's password.public LdapDomainCreation userBase(String userBase)
LdapDomainCreation
userBase in interface LdapDomainCreationpublic LdapDomainCreation userIdField(String userIdField)
LdapDomainCreation
userIdField in interface LdapDomainCreationpublic void execute()
LdapDomainCreation
execute in interface LdapDomainCreation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||