| Package | Description |
|---|---|
| org.pac4j.core.profile.converter | |
| org.pac4j.core.profile.definition |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAttributeConverter<T>
This abstract attribute converter handles some common behaviors for simple type converters.
|
class |
BooleanConverter
This class converts a String into a Boolean or returns the Boolean in input.
|
class |
ColorConverter
This class converts a String into a Color.
|
class |
DateConverter
This class converts a String (depending on a specified format) into a Date.
|
class |
GenderConverter
This class converts a String to a Gender.
|
class |
IntegerConverter
This class converts a String into an Integer or returns the Integer in input.
|
class |
LocaleConverter
This class converts a String to a Locale.
|
class |
LongConverter
This class converts a String into a Long or returns the Long (or Integer) in input.
|
class |
StringConverter
This class only keeps String objects.
|
class |
UrlConverter
URL converter.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,AttributeConverter<? extends Object>> |
ProfileDefinition.getConverters() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProfileDefinition.primary(String name,
AttributeConverter<? extends Object> converter)
Add an attribute as a primary one and its converter.
|
protected void |
ProfileDefinition.secondary(String name,
AttributeConverter<? extends Object> converter)
Add an attribute as a secondary one and its converter.
|
Copyright © 2017. All Rights Reserved.