Class HeaderAuthentication
java.lang.Object
io.jenkins.plugins.opentelemetry.authentication.OtlpAuthentication
io.jenkins.plugins.opentelemetry.authentication.HeaderAuthentication
- All Implemented Interfaces:
ExtensionPoint
,Describable<OtlpAuthentication>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.plugins.opentelemetry.authentication.OtlpAuthentication
OtlpAuthentication.AbstractDescriptor
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enrichOpenTelemetryAutoConfigureConfigProperties
(Map<String, String> configProperties) void
enrichOtelEnvironmentVariables
(Map<String, String> environmentVariables) Enrich the provided environment variables injecting the authentication settings, typically appending credentials to theOTEL_EXPORTER_OTLP_HEADERS
variableboolean
int
hashCode()
void
setHeaderName
(String headerName) void
setHeaderValueId
(String headerValueId) toString()
Methods inherited from class io.jenkins.plugins.opentelemetry.authentication.OtlpAuthentication
allDescriptors, getDescriptor
-
Constructor Details
-
HeaderAuthentication
@DataBoundConstructor public HeaderAuthentication()
-
-
Method Details
-
enrichOpenTelemetryAutoConfigureConfigProperties
- Specified by:
enrichOpenTelemetryAutoConfigureConfigProperties
in classOtlpAuthentication
-
enrichOtelEnvironmentVariables
Description copied from class:OtlpAuthentication
Enrich the provided environment variables injecting the authentication settings, typically appending credentials to theOTEL_EXPORTER_OTLP_HEADERS
variable- Specified by:
enrichOtelEnvironmentVariables
in classOtlpAuthentication
- Parameters:
environmentVariables
- the builder to configure
-
getHeaderName
-
setHeaderName
-
getHeaderValueId
-
setHeaderValueId
-
toString
-
equals
-
hashCode
public int hashCode()
-