Class HTTPSecuritySchemeImpl

java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
org.gcube.informationsystem.model.impl.properties.PropertyImpl
All Implemented Interfaces:
Serializable, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.base.reference.properties.PropertyElement, org.gcube.informationsystem.base.reference.SchemaMixedElement, org.gcube.informationsystem.model.reference.ModelElement, org.gcube.informationsystem.model.reference.properties.Property, GCubeProperty, HTTPSecurityScheme, SecurityScheme

public class HTTPSecuritySchemeImpl extends SecuritySchemeImpl implements HTTPSecurityScheme
Implementation of HTTPSecurityScheme.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The HTTP header carrying the credentials

    Fields inherited from class org.gcube.resourcemanagement.model.impl.properties.SecuritySchemeImpl

    description, reference, scheme, url

    Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl

    additionalProperties, allowedAdditionalKeys, expectedtype, supertypes

    Fields inherited from interface org.gcube.informationsystem.base.reference.Element

    DATETIME_PATTERN, NAME, REDACTED, TYPE_PROPERTY, UNKNOWN_USER

    Fields inherited from interface org.gcube.resourcemanagement.model.reference.properties.GCubeProperty

    NAME

    Fields inherited from interface org.gcube.resourcemanagement.model.reference.properties.HTTPSecurityScheme

    HEADER_PROPERTY, NAME

    Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement

    EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY

    Fields inherited from interface org.gcube.informationsystem.model.reference.properties.Property

    NAME

    Fields inherited from interface org.gcube.resourcemanagement.model.reference.properties.SecurityScheme

    DESCRIPTION_PROPERTY, NAME, REFERENCE_PROPERTY, SCHEME_PROPERTY, URL_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    The HTTP header field carrying the credentials, e.g.
    void
    setHeader(String header)
    Sets the HTTP header carrying the credentials

    Methods inherited from class org.gcube.resourcemanagement.model.impl.properties.SecuritySchemeImpl

    getDescription, getReference, getScheme, getURL, setDescription, setReference, setScheme, setURL

    Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl

    addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedtype, getSupertypes, setAdditionalProperties, setAdditionalProperty

    Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl

    getTypeName, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.gcube.informationsystem.base.reference.Element

    getTypeName

    Methods inherited from interface org.gcube.resourcemanagement.model.reference.properties.HTTPSecurityScheme

    getScheme

    Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement

    getExpectedtype, getSupertypes

    Methods inherited from interface org.gcube.informationsystem.model.reference.properties.Property

    getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty

    Methods inherited from interface org.gcube.resourcemanagement.model.reference.properties.SecurityScheme

    getDescription, getReference, getURL, setDescription, setReference, setScheme, setURL
  • Field Details

  • Constructor Details

    • HTTPSecuritySchemeImpl

      public HTTPSecuritySchemeImpl()
      Default constructor
  • Method Details

    • getHeader

      public String getHeader()
      The HTTP header field carrying the credentials, e.g. Authorization (RFC 9110, section 11.6.2) or an API key header such as X-API-Key.
      Specified by:
      getHeader in interface HTTPSecurityScheme
      Returns:
      the HTTP header carrying the credentials
    • setHeader

      public void setHeader(String header)
      Sets the HTTP header carrying the credentials
      Specified by:
      setHeader in interface HTTPSecurityScheme
      Parameters:
      header - the HTTP header carrying the credentials, e.g. Authorization