public class Configuration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_INITIAL_CONTEXT_FACTORY
Default value for the initialContextFactoryName property.
|
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
String |
getBaseDN() |
String |
getBindDN() |
String |
getBindPassword() |
String |
getEmailAttribute() |
String |
getInitialContextFactoryName() |
String |
getSearchAttribute() |
String |
getServer() |
boolean |
isBindCredentialsProvided() |
boolean |
isPerformSearch() |
boolean |
isValid() |
String |
makeUserDN(String userName)
Construct a user's distinguised name (DN) from their username.
|
void |
setBaseDN(String baseDN) |
void |
setBindDN(String bindDN) |
void |
setBindPassword(String bindPassword) |
void |
setEmailAttribute(String emailAttribute) |
void |
setInitialContextFactoryName(String initialContextFactoryName) |
void |
setPerformSearch(boolean performSearch) |
void |
setSearchAttribute(String searchAttribute) |
void |
setServer(String server) |
String |
toString() |
public static final String DEFAULT_INITIAL_CONTEXT_FACTORY
public String getBaseDN()
public String getBindDN()
public String getBindPassword()
public String getEmailAttribute()
public String getInitialContextFactoryName()
public String getSearchAttribute()
public String getServer()
public boolean isBindCredentialsProvided()
public boolean isPerformSearch()
public boolean isValid()
public String makeUserDN(String userName)
userName
- the user's usernamepublic void setBaseDN(String baseDN)
public void setBindDN(String bindDN)
public void setBindPassword(String bindPassword)
public void setEmailAttribute(String emailAttribute)
public void setInitialContextFactoryName(String initialContextFactoryName)
public void setPerformSearch(boolean performSearch)
public void setSearchAttribute(String searchAttribute)
public void setServer(String server)
Copyright © 2004-2014. All Rights Reserved.