public class UserSettings
extends java.lang.Object
Constructor and Description |
---|
UserSettings() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String attribute)
Adds the given attribute to the list of attributes.
|
java.lang.String[] |
getAttributeArray()
Returns the list of attributes that should be included
in the LDAP search, for which data is expected to be
returned from the LDAP server.
|
java.util.Iterator |
getAttributes()
Returns the list of attributes that should be included
in the LDAP search, for which data is expected to be
returned from the LDAP server, in an Iterator.
|
java.lang.String |
getBaseDN()
Returns the base distinguished name of the user
hierarchy to be used for search.
|
DataMap |
getDataMap()
Returns the data mapping for the users as defined in
the configuration file.
|
java.lang.String |
getSearchFilter()
Returns the search filter to be used to search for user
objects that need to be synchronized to MAXIMO tables.
|
java.lang.String |
getSearchScope()
Returns the search scope to be used for user searches.
|
int |
getSearchScopeAsInt()
Returns the search scope to be used for user searches.
|
void |
setAttributes(java.util.Set attributesSet)
Sets the list of attributes that should be included
in the LDAP search, for which data is expected to be
returned from the LDAP server.
|
void |
setBaseDN(java.lang.String string)
Sets the base distinguished name of the user hierarchy
to be used for search.
|
void |
setDataMap(DataMap dataMap)
Sets the data mapping for the users as defined in the
configuration file.
|
void |
setSearchFilter(java.lang.String string)
Sets the search filter to be used to search for users.
|
void |
setSearchScope(java.lang.String string)
Sets the search scope to be used for user searches.
|
java.lang.String |
toString()
Returns the data in string representation for debug purpose.
|
public java.lang.String getBaseDN()
public void setBaseDN(java.lang.String string)
string
- the base distinguished name of the user
hierarchypublic java.lang.String getSearchFilter()
public void setSearchFilter(java.lang.String string)
string
- the search filter to be used to search
for users.public java.lang.String getSearchScope()
public int getSearchScopeAsInt()
public void setSearchScope(java.lang.String string)
string
- the search scope to be used for user
searches.public java.util.Iterator getAttributes()
public java.lang.String[] getAttributeArray()
public void setAttributes(java.util.Set attributesSet)
attributesSet
- list of attributes.public void addAttribute(java.lang.String attribute)
attribute
- attribute to be added to the list of
attributes.public DataMap getDataMap()
public void setDataMap(DataMap dataMap)
dataMap
- the data mapping for the users.public java.lang.String toString()
toString
in class java.lang.Object