primary
Add an attribute as a primary one and its converter.
- Parameters:
name
- name of the attributeconverter
- converter
CommonProfileDefinition
void
convertAndAdd(UserProfile profile,
Map<String,Object> profileAttributes,
Map<String,Object> authenticationAttributes)
void
convertAndAdd(UserProfile profile,
AttributeLocation attributeLocation,
String name,
Object value)
protected Object
getParameter(Object[] parameters,
int num)
newProfile(Object... parameters)
protected void
primary(String name,
AttributeConverter converter)
protected void
secondary(String name,
AttributeConverter converter)
protected void
setProfileFactory(ProfileFactory profileFactory)
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