Class AttributeDisplayNameFunction

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

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

    • AttributeDisplayNameFunction

      public AttributeDisplayNameFunction​(@Nonnull javax.servlet.http.HttpServletRequest request, @Nullable List<String> defaultLangauages)
      Constructor.
      Parameters:
      request - HttpServletRequest used to get preferred languages
      defaultLangauages - list of fallback languages in order of decreasing preference
  • Method Details