primary
Add an attribute as a primary one and its converter.
- Parameters:
name- name of the attributeconverter- converter
CommonProfileDefinitionvoidconvertAndAdd(UserProfile profile,
Map<String,Object> profileAttributes,
Map<String,Object> authenticationAttributes) voidconvertAndAdd(UserProfile profile,
AttributeLocation attributeLocation,
String name,
Object value) protected ObjectgetParameter(Object[] parameters,
int num) booleannewProfile(Object... parameters) protected voidprimary(String name,
AttributeConverter converter) protected voidsecondary(String name,
AttributeConverter converter) protected voidsetProfileFactory(ProfileFactory profileFactory) voidsetProfileId(String profileId) voidsetRestoreProfileFromTypedId(boolean restoreProfileFromTypedId) parameters - some input parameters (the first optional one is the typed id)profile - The profile.attributeLocation - Location of the attribute inside the profile: classic profile attribute, authentication attribute, ...name - The attribute name.value - The attribute value.profile - The profile.profileAttributes - The profile attributes. May be null.authenticationAttributes - The authentication attributes. May be null.profileFactory - the way to build the profilename - name of the attributeconverter - convertername - name of the attributeconverter - converter