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
-
- org.gcube.resourcemanagement.model.impl.properties.GCubePropertyImpl
-
- org.gcube.resourcemanagement.model.impl.properties.SecuritySchemeImpl
-
- org.gcube.resourcemanagement.model.impl.properties.HTTPSecuritySchemeImpl
-
- 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 ofHTTPSecurityScheme.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringheaderThe 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 HTTPSecuritySchemeImpl()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHeader()The HTTP header field carrying the credentials, e.g.voidsetHeader(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.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 Detail
-
header
protected String header
The HTTP header carrying the credentials
-
-
Method Detail
-
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 asX-API-Key.- Specified by:
getHeaderin interfaceHTTPSecurityScheme- Returns:
- the HTTP header carrying the credentials
-
setHeader
public void setHeader(String header)
Sets the HTTP header carrying the credentials- Specified by:
setHeaderin interfaceHTTPSecurityScheme- Parameters:
header- the HTTP header carrying the credentials, e.g.Authorization
-
-