pt.digitalis.utils.ldap
Class LDAPConfigurations

java.lang.Object
  extended by pt.digitalis.utils.ldap.LDAPConfigurations

public class LDAPConfigurations
extends Object

LDAP configurations for LDAP server access.

Author:
Rodrigo Gonçalves rgoncalves@digitalis.pt, Luis Pinto lpinto@digitalis.pt
, Pedro Viegas pviegas@digitalis.pt

Constructor Summary
LDAPConfigurations()
           
 
Method Summary
 boolean getAllowDistinguishedNameModifications()
          Inspector for the 'allowDistinguishedNameModifications' attribute.
 Map<String,String> getAttributesMapping()
          Get the attributes names.
 String getBaseSearchDN()
          Inspector for the 'baseSearchDN' attribute.
 String getBaseUserDN()
          Getter for the 'baseUserDN' property.
 String getBulkParametersAttributeName()
          Returns the name of the attribute used to store bulk parameters.
 String getDefaultGroupDN()
          Getter for the 'defaultGroupDN' property.
 String getDefaultProfileDN()
          Inspector for the 'defaultProfileDN' attribute.
 String getExclusionCharaters()
          Inspector for the 'exclusionParameters' attribute.
 String getGroupMapping(String groupName)
          Get the value for a specific group key.
 Map<String,String> getGroupMappings()
          Get Group Mappings for dif2.
 String getHostName()
          Getter for the 'hostName' property.
 String getPassword()
          Inspector for the password property.
 String getPort()
          Inspector for the port property.
 int getQuerysPageSizeLimit()
          Inspector for the 'querysPageSizeLimit' attribute.
 boolean getReadOnly()
          Inspector for the 'readOnly' attribute.
 String getSSLPort()
          Inspector for the SSL port property.
 String getUserDN()
          Inspector for the logged user DN.
 void setAllowDistinguishedNameModifications(boolean allowDistinguishedNameModifications)
          Modifier for the 'allowDistinguishedNameModifications' attribute.
 void setAttributeMappings(Map<String,String> attributeMappings)
          Modifier for the 'attributeMappings' attribute.
 void setBaseSearchDN(String baseSearchDN)
          Modifier for the 'baseSearchDN' attribute.
 void setBaseUserDN(String baseUserDN)
          Setter for the 'baseUserDN' property.
 void setBulkParametersAttributeName(String newBulkParametersAttributeName)
          Sets the name of the attribute used to store bulk parameters.
 void setDefaultGroupDN(String newDefaultGroupDN)
          Setter for the 'defaultGroupDN' property.
 void setDefaultProfileDN(String defaultProfileDN)
          Modifier for the 'defaultProfileDN' attribute.
 void setExclusionCharaters(String exclusionCharaters)
          Modifier for the 'exclusionParameters' attribute.
 void setGroupMappings(Map<String,String> groupMappings)
          Modifier for the 'groupMappings' attribute.
 void setHostName(String hostName)
          Setter for the 'baseGroupDN' property.
 void setPassword(String password)
          Inspector for the password property.
 void setPort(String port)
          Modifier for the port property.
 void setQuerysPageSizeLimit(int querysPageSizeLimit)
          Modifier for the 'querysPageSizeLimit' attribute.
 void setReadOnly(boolean readOnly)
          Modifier for the 'readOnly' attribute.
 void setSSLPort(String sslPort)
          Modifier for the SSL port property.
 void setUserDN(String userDN)
          Modifier for the logged user DN.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPConfigurations

public LDAPConfigurations()
Method Detail

getAllowDistinguishedNameModifications

public boolean getAllowDistinguishedNameModifications()
Inspector for the 'allowDistinguishedNameModifications' attribute.

Returns:
the allowDistinguishedNameModifications value

getAttributesMapping

public Map<String,String> getAttributesMapping()
Get the attributes names.

Returns:
List with the attributes names

getBaseSearchDN

public String getBaseSearchDN()
Inspector for the 'baseSearchDN' attribute.

Returns:
the baseSearchDN value

getBaseUserDN

public String getBaseUserDN()
Getter for the 'baseUserDN' property. NOTE: Used for OID LDAP implementation only!!!

Returns:
the baseUserDN

getBulkParametersAttributeName

public String getBulkParametersAttributeName()
Returns the name of the attribute used to store bulk parameters.

Returns:
the name of the attribute used to store bulk parameters

getDefaultGroupDN

public String getDefaultGroupDN()
Getter for the 'defaultGroupDN' property.

Returns:
the baseGroupName

getDefaultProfileDN

public String getDefaultProfileDN()
Inspector for the 'defaultProfileDN' attribute.

Returns:
the defaultProfileDN value

getExclusionCharaters

public String getExclusionCharaters()
Inspector for the 'exclusionParameters' attribute.

Returns:
the exclusionParameters value

getGroupMapping

public String getGroupMapping(String groupName)
Get the value for a specific group key.

Parameters:
groupName - the group name
Returns:
the group mapped value

getGroupMappings

public Map<String,String> getGroupMappings()
Get Group Mappings for dif2.

Returns:
List with the group mappings

getHostName

public String getHostName()
Getter for the 'hostName' property.

Returns:
the hostName

getPassword

public String getPassword()
Inspector for the password property.

Returns:
the password

getPort

public String getPort()
Inspector for the port property.

Returns:
the port

getQuerysPageSizeLimit

public int getQuerysPageSizeLimit()
Inspector for the 'querysPageSizeLimit' attribute.

Returns:
the querysPageSizeLimit value

getReadOnly

public boolean getReadOnly()
Inspector for the 'readOnly' attribute.

Returns:
the readOnly value

getSSLPort

public String getSSLPort()
Inspector for the SSL port property.

Returns:
the SSL port

getUserDN

public String getUserDN()
Inspector for the logged user DN.

Returns:
the userDN

setAllowDistinguishedNameModifications

public void setAllowDistinguishedNameModifications(boolean allowDistinguishedNameModifications)
Modifier for the 'allowDistinguishedNameModifications' attribute.

Parameters:
allowDistinguishedNameModifications - the new allowDistinguishedNameModifications value to set

setAttributeMappings

public void setAttributeMappings(Map<String,String> attributeMappings)
Modifier for the 'attributeMappings' attribute.

Parameters:
attributeMappings - the new attributeMappings value to set

setBaseSearchDN

public void setBaseSearchDN(String baseSearchDN)
Modifier for the 'baseSearchDN' attribute.

Parameters:
baseSearchDN - the new baseSearchDN value to set

setBaseUserDN

public void setBaseUserDN(String baseUserDN)
Setter for the 'baseUserDN' property. NOTE: Used for OID LDAP implementation only!!!

Parameters:
baseUserDN - the baseUserDN to set

setBulkParametersAttributeName

public void setBulkParametersAttributeName(String newBulkParametersAttributeName)
Sets the name of the attribute used to store bulk parameters.

Parameters:
newBulkParametersAttributeName - the new bulk parameters attribute name

setDefaultGroupDN

public void setDefaultGroupDN(String newDefaultGroupDN)
Setter for the 'defaultGroupDN' property.

Parameters:
newDefaultGroupDN - the baseGroupName to set

setDefaultProfileDN

public void setDefaultProfileDN(String defaultProfileDN)
Modifier for the 'defaultProfileDN' attribute.

Parameters:
defaultProfileDN - the new defaultProfileDN value to set

setExclusionCharaters

public void setExclusionCharaters(String exclusionCharaters)
Modifier for the 'exclusionParameters' attribute.

Parameters:
exclusionCharaters - the excluded charaters

setGroupMappings

public void setGroupMappings(Map<String,String> groupMappings)
Modifier for the 'groupMappings' attribute.

Parameters:
groupMappings - the new groupMappings value to set

setHostName

public void setHostName(String hostName)
Setter for the 'baseGroupDN' property.

Parameters:
hostName - the hostName to set

setPassword

public void setPassword(String password)
Inspector for the password property.

Parameters:
password - the new password value to set

setPort

public void setPort(String port)
Modifier for the port property.

Parameters:
port - the new port value to set

setQuerysPageSizeLimit

public void setQuerysPageSizeLimit(int querysPageSizeLimit)
Modifier for the 'querysPageSizeLimit' attribute.

Parameters:
querysPageSizeLimit - the new querysPageSizeLimit value to set

setReadOnly

public void setReadOnly(boolean readOnly)
Modifier for the 'readOnly' attribute.

Parameters:
readOnly - the new readOnly value to set

setSSLPort

public void setSSLPort(String sslPort)
Modifier for the SSL port property.

Parameters:
sslPort - the new SSL port value to set

setUserDN

public void setUserDN(String userDN)
Modifier for the logged user DN.

Parameters:
userDN - the userDN to set


Copyright © 2012 Digitalis Informática Lda. All Rights Reserved.