|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.buildforge.services.client.dbo.LDAP
public class LDAP
An object representing an LDAP domain within the Build Forge system. An LDAP object defines the parameters for connecting to and using a should generally contain no more than a few closely related commands that accomplish a fundamental task that is part of the automated process.
In addition to the command itself, step objects define much of the context within which a command is executed and how that step may interact with other steps that surround it.
Field Summary | |
---|---|
static java.lang.Class<LDAP> |
CLASS
|
Constructor Summary | |
---|---|
LDAP(APIClientConnection conn)
|
Method Summary | |
---|---|
LDAP |
create()
Creates this LDAP configuration object in the database |
void |
delete()
Removes this LDAP configuration from the database |
static java.util.List<java.lang.String> |
findAllDomains(APIClientConnection conn)
Finds and returns all LDAP Domains. |
static LDAP |
findByDomain(APIClientConnection conn,
java.lang.String domain)
Finds and returns the LDAP configuration object associated with the provided domain. |
java.lang.String |
getAdminCN()
Returns the Administrative CN |
java.lang.String |
getAuthorizedGroupDN()
Returns the DN for a listing of groups that are allowed to authenticate |
boolean |
getBindUserAccount()
Returns the user account used to bind to the LDAP server |
java.lang.String |
getDisplayName()
|
java.lang.String |
getDistinguishedName()
|
java.lang.String |
getDomain()
|
java.lang.String |
getEncryptedPassword()
|
java.lang.String |
getGroupName()
|
java.lang.String |
getGroupsSearchBase()
|
java.lang.String |
getGroupsUniqueIdentifier()
|
java.lang.String |
getHost()
|
java.lang.String |
getMailName()
|
boolean |
getMapAccessGroups()
|
java.lang.String |
getSearchBase()
|
java.lang.String |
getUniqueIdentifier()
|
void |
setAdminCN(java.lang.String adminCN)
|
void |
setAuthorizedGroupDN(java.lang.String authorizedGroupDN)
|
void |
setBindUserAccount(boolean bindUserAccount)
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setDistinguishedName(java.lang.String distinguishedName)
|
void |
setDomain(java.lang.String domain)
|
void |
setEncryptedPassword(java.lang.String encryptedPassword)
|
void |
setGroupName(java.lang.String groupName)
|
void |
setGroupsSearchBase(java.lang.String groupsSearchBase)
|
void |
setGroupsUniqueIdentifier(java.lang.String groupsUniqueIdentifier)
|
void |
setHost(java.lang.String host)
|
void |
setMailName(java.lang.String mailName)
|
void |
setMapAccessGroups(boolean mapAccessGroups)
|
void |
setSearchBase(java.lang.String searchBase)
|
void |
setUniqueIdentifier(java.lang.String uniqueIdentifier)
|
java.lang.String |
toString()
|
LDAP |
update()
Commits the current state of this LDAP configuration to the database |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class<LDAP> CLASS
Constructor Detail |
---|
public LDAP(APIClientConnection conn)
Method Detail |
---|
public static java.util.List<java.lang.String> findAllDomains(APIClientConnection conn) throws java.io.IOException, ServiceException
conn
- connection
java.io.IOException
ServiceException
public static LDAP findByDomain(APIClientConnection conn, java.lang.String domain) throws java.io.IOException, ServiceException
conn
- domain
- The string representing the domain to be retrieved
java.io.IOException
ServiceException
public LDAP create() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public LDAP update() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public void delete() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public java.lang.String getAdminCN()
public java.lang.String getAuthorizedGroupDN()
public boolean getBindUserAccount()
public java.lang.String getDisplayName()
public java.lang.String getDistinguishedName()
public java.lang.String getDomain()
public java.lang.String getEncryptedPassword()
public java.lang.String getGroupName()
public java.lang.String getGroupsSearchBase()
public java.lang.String getGroupsUniqueIdentifier()
public java.lang.String getHost()
public java.lang.String getMailName()
public boolean getMapAccessGroups()
public java.lang.String getSearchBase()
public java.lang.String getUniqueIdentifier()
public void setAdminCN(java.lang.String adminCN)
public void setAuthorizedGroupDN(java.lang.String authorizedGroupDN)
public void setBindUserAccount(boolean bindUserAccount)
public void setDisplayName(java.lang.String displayName)
public void setDistinguishedName(java.lang.String distinguishedName)
public void setDomain(java.lang.String domain)
public void setEncryptedPassword(java.lang.String encryptedPassword)
public void setGroupName(java.lang.String groupName)
public void setGroupsSearchBase(java.lang.String groupsSearchBase)
public void setGroupsUniqueIdentifier(java.lang.String groupsUniqueIdentifier)
public void setHost(java.lang.String host)
public void setMailName(java.lang.String mailName)
public void setMapAccessGroups(boolean mapAccessGroups)
public void setSearchBase(java.lang.String searchBase)
public void setUniqueIdentifier(java.lang.String uniqueIdentifier)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |