Class ParameterDefinition

  • All Implemented Interfaces:
    Serializable

    public final class ParameterDefinition
    extends Object
    implements Serializable
    Immutable mapping from a form request header or URL parameter to an Identity Provider login parameter.
    Since:
    8.6.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ParameterDefinition

        public ParameterDefinition​(ParameterDefinition.Source source,
                                   String sourceName,
                                   String targetName)
        Creates a passthrough parameter definition, including when reading its JSON representation.
        Parameters:
        source - the request source
        sourceName - the incoming header or URL parameter name
        targetName - the parameter name sent to the identity provider
    • Method Detail

      • getSourceName

        public String getSourceName()
        The incoming header or URL query parameter name.
      • getTargetName

        public String getTargetName()
        The login parameter name passed to the Identity Provider.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object