Class ChainingConverter

java.lang.Object
org.pac4j.core.profile.converter.ChainingConverter
All Implemented Interfaces:
AttributeConverter

public class ChainingConverter extends Object implements AttributeConverter
Since:
4.3.0
Author:
Misagh Moayyed
  • Constructor Details

    • ChainingConverter

      public ChainingConverter(List<AttributeConverter> converters)

      Constructor for ChainingConverter.

      Parameters:
      converters - a List object
  • Method Details

    • convert

      public Object convert(Object o)
      Convert an attribute to a specific type.
      Specified by:
      convert in interface AttributeConverter
      Parameters:
      o - attribute
      Returns:
      the converted attribute