AU
- public class DirectoryComposite<AU extends AppUser> extends AppUserComposite<AU,DirectoryComposite> implements SummaryContributer<AU>
AppUserComposite
that adds information to the person summary from a directory lookup.
The users WebName is assumed to map to the ldap uid attribute
Parameters:
Constructor and Description |
---|
DirectoryComposite(AppUserFactory fac) |
Modifier and Type | Method and Description |
---|---|
void |
addAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes,
AU target)
Add to the set of attributes.
|
java.util.Map<java.lang.String,java.lang.Object> |
getDirectoryInfo(AU target) |
protected java.lang.Class |
getType()
Returns the type the composite should be registered under.
|
addDefaults, addFieldHelp, addOptional, addSelectors, addSuppress, addTranslations, customiseForm, customiseUpdateForm, getContext, getFactory, getLogger, getRecord, getRepository, modifyDefaultTableSpecification, postUpdate, preRegister, release, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFieldConstraints, addFormFields
public DirectoryComposite(AppUserFactory fac)
protected java.lang.Class getType()
Composite
getType
in class Composite<AU extends AppUser,DirectoryComposite>
public java.util.Map<java.lang.String,java.lang.Object> getDirectoryInfo(AU target)
public void addAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes, AU target)
SummaryContributer
Table
so the data should be of a
type that can be displayed by Table
s
The keys should be display text.addAttributes
in interface SummaryContributer<AU extends AppUser>