|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.identity.ldap.AttributeConfigurations
public class AttributeConfigurations
Holds the business-to-LDAP-attributes mapping configuration.
Field Summary | |
---|---|
static String |
BULK_PARAMETER_PROPERTY_KEY
The name of the Properties key that holds the name of the LDAP attribute to store bulk parameters. |
Constructor Summary | |
---|---|
AttributeConfigurations()
Default ctor. |
Method Summary | |
---|---|
void |
addMappingPair(String businessParameterName,
String ldapAttributeName)
Adds a new business-to-LDAP mapping to the configurations, if such mapping does not exists yet. |
boolean |
containsBusinessParameter(String businessParameterName)
Checks if the supplied business parameter name is mapped. |
boolean |
containsLDAPAttribute(String ldapAttributeName)
Checks if the supplied LDAP attribute name is mapped. |
String |
getBulkParameterAttributeName()
Inspector for the 'bulkParameterAttributeName' attribute. |
String |
getBusiness2LDAPMapping(String businessParameterName)
Returns the name of the LDAP attribute that maps to the supplied business parameter name. |
String |
getLDAP2BusinessMapping(String ldapAttributeName)
Returns the name of the business parameter that maps to the supplied LDAP attribute name. |
void |
removeMapping(String businessParameterName,
String ldapAttributeName)
Removes an existing mapping. |
void |
setBulkParameterAttributeName(String bulkParameterAttributeName)
Modifier for the 'bulkParameterAttributeName' attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BULK_PARAMETER_PROPERTY_KEY
Constructor Detail |
---|
public AttributeConfigurations()
Method Detail |
---|
public String getBusiness2LDAPMapping(String businessParameterName)
businessParameterName
- the business parameter name
public String getLDAP2BusinessMapping(String ldapAttributeName)
ldapAttributeName
- the LDAP attribute name
public void addMappingPair(String businessParameterName, String ldapAttributeName)
businessParameterName
- the business parameter nameldapAttributeName
- the LDAP attribute namepublic void removeMapping(String businessParameterName, String ldapAttributeName)
businessParameterName
- the business parameter nameldapAttributeName
- the LDAP attribute namepublic boolean containsBusinessParameter(String businessParameterName)
businessParameterName
- the business parameter name
public boolean containsLDAPAttribute(String ldapAttributeName)
ldapAttributeName
- the LDAP attribute name
public String getBulkParameterAttributeName()
public void setBulkParameterAttributeName(String bulkParameterAttributeName)
bulkParameterAttributeName
- the new bulkParameterAttributeName value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |