Class AttributeDisplayDescriptionFunction

java.lang.Object
net.shibboleth.idp.consent.logic.impl.AbstractAttributeDisplayFunction
net.shibboleth.idp.consent.logic.impl.AttributeDisplayDescriptionFunction
All Implemented Interfaces:
Function<IdPAttribute,String>

public class AttributeDisplayDescriptionFunction extends AbstractAttributeDisplayFunction
Function which returns the locale-aware display description of an attribute, defaulting to the attribute ID if the attribute has no display description.
  • Field Details

    • log

      private final org.slf4j.Logger log
      Logger.
  • Constructor Details

    • AttributeDisplayDescriptionFunction

      public AttributeDisplayDescriptionFunction(@Nonnull javax.servlet.http.HttpServletRequest request, @Nullable List<String> defaultLangauages, ReloadableService<AttributeTranscoderRegistry> transcoderService)
      Constructor.
      Parameters:
      request - HttpServletRequest used to get preferred languages
      defaultLangauages - list of fallback languages in order of decreasing preference
      transcoderService - the attribute transcoder service
  • Method Details