Package org.pac4j.core.profile.converter
Class BooleanConverter
java.lang.Object
org.pac4j.core.profile.converter.AbstractAttributeConverter
org.pac4j.core.profile.converter.BooleanConverter
- All Implemented Interfaces:
AttributeConverter
This class converts a String into a Boolean or returns the Boolean in input.
- Since:
- 1.1.0
- Author:
- Jerome Leleu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Boolean
protected Boolean
internalConvert
(Object attribute) Methods inherited from class org.pac4j.core.profile.converter.AbstractAttributeConverter
accept, convert
-
Constructor Details
-
BooleanConverter
public BooleanConverter()
-
-
Method Details
-
internalConvert
- Overrides:
internalConvert
in classAbstractAttributeConverter
-
defaultValue
- Overrides:
defaultValue
in classAbstractAttributeConverter
-