public class ActiveDirectoryDomain extends hudson.model.AbstractDescribableImpl<ActiveDirectoryDomain> implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ActiveDirectoryDomain.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
String |
bindName
If non-null, use this name and password to bind to LDAP to obtain the DN
of the user trying to login.
|
hudson.util.Secret |
bindPassword |
String |
name
Domain name
|
String |
servers
If non-null, Jenkins will try to connect at this server at the first priority, before falling back to
discovered DNS servers.
|
String |
site
Active directory site (which specifies the physical concentration of the
servers), if any.
|
| Constructor and Description |
|---|
ActiveDirectoryDomain(String name,
String servers) |
ActiveDirectoryDomain(String name,
String servers,
String site,
String bindName,
String bindPassword) |
| Modifier and Type | Method and Description |
|---|---|
static String |
fixEmpty(String s)
Convert empty string to null.
|
String |
getBindName() |
hudson.util.Secret |
getBindPassword() |
String |
getName() |
String |
getServers() |
String |
getSite() |
public String name
When this plugin is used on Windows, this field is null, and we use ADSI and ADO through com4j to perform authentication.
OTOH, when this plugin runs on non-Windows, this field must be non-null, and we'll use LDAP for authentication.
public String servers
public String site
On Windows, I'm assuming ADSI takes care of everything automatically.
public String bindName
public hudson.util.Secret bindPassword
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getName()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getServers()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getBindName()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public hudson.util.Secret getBindPassword()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getSite()
Copyright © 2016–2017. All rights reserved.