com.ca.jcs.jndi
Class VirtualUserNameHandler
java.lang.Object
com.ca.jcs.cfg.Vetoable
com.ca.jcs.converter.meta.ClassConverter
com.ca.jcs.jndi.VirtualFullNameHandler
com.ca.jcs.jndi.VirtualUserNameHandler
public class VirtualUserNameHandler
- extends VirtualFullNameHandler
Provides the value of the virtual "userName" attribute which is
the value of the "uid" attribute if set and otherwise defaults to the
same value as that for the "fullName" attribute.
$Id: VirtualUserNameHandler.java 47813 2010-03-16 05:14:00Z khaam03 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USER_NAME_CONN_ATTR_ID
public static final String USER_NAME_CONN_ATTR_ID
- See Also:
- Constant Field Values
uidLdapAttrId
protected String uidLdapAttrId
userNameLdapAttrId
protected String userNameLdapAttrId
VirtualUserNameHandler
public VirtualUserNameHandler(MetaObjectClassMapping classMap)
isStructural
public boolean isStructural()
- Description copied from class:
ClassConverter
- Returns true if the converter performs a change to the structure of an attribute's values, rather then just transforming individual values themselves.
For instance changing Attributes representations into an alternative representation such as JSON is an example of a structural conversion.
- Overrides:
isStructural in class VirtualFullNameHandler
convertToConnector
public void convertToConnector(Attributes attrs)
throws NamingException
- Description copied from class:
ClassConverter
- Create/add case.
- Overrides:
convertToConnector in class VirtualFullNameHandler
- Throws:
NamingException
convertToConnector
public ModificationItem[] convertToConnector(ModificationItem[] modItems)
throws NamingException
- Description copied from class:
ClassConverter
- Update/modify case.
- Overrides:
convertToConnector in class VirtualFullNameHandler
- Throws:
NamingException
convertFromConnector
public void convertFromConnector(Attributes attrs)
throws NamingException
- Overrides:
convertFromConnector in class VirtualFullNameHandler
- Throws:
NamingException
Created 2011-07-14 13:27 EST