Record Class NuggetConfigurationSummary
java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetConfigurationSummary
- Record Components:
adminState- administration stateadminEnabled- configured administration enablementunsafeDeveloperMode- whether unsafe developer mode is activepinSourceType- configured source classificationlowerSafetyPinSource- whether the configured source is lower safetyverifierFormat- safe verifier format version, or empty stringmetadata- redacted safe metadata
public record NuggetConfigurationSummary(NuggetAdminState adminState, boolean adminEnabled, boolean unsafeDeveloperMode, NuggetPinSourceType pinSourceType, boolean lowerSafetyPinSource, String verifierFormat, Map<String,String> metadata)
extends Record
Safe public configuration summary for nugget administration.
The summary is immutable and contains source classifications only. It never contains PINs, verifier bytes, hashes, salts, KDF output, file contents, environment values, or reusable authentication material.
-
Constructor Summary
ConstructorsConstructorDescriptionNuggetConfigurationSummary(NuggetAdminState adminState, boolean adminEnabled, boolean unsafeDeveloperMode, NuggetPinSourceType pinSourceType, boolean lowerSafetyPinSource, String verifierFormat, Map<String, String> metadata) Creates a defensive immutable summary. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theadminEnabledrecord component.Returns the value of theadminStaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thelowerSafetyPinSourcerecord component.metadata()Returns the value of themetadatarecord component.Returns the value of thepinSourceTyperecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theunsafeDeveloperModerecord component.Returns the value of theverifierFormatrecord component.
-
Constructor Details
-
NuggetConfigurationSummary
public NuggetConfigurationSummary(NuggetAdminState adminState, boolean adminEnabled, boolean unsafeDeveloperMode, NuggetPinSourceType pinSourceType, boolean lowerSafetyPinSource, String verifierFormat, Map<String, String> metadata) Creates a defensive immutable summary.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
adminState
Returns the value of theadminStaterecord component.- Returns:
- the value of the
adminStaterecord component
-
adminEnabled
public boolean adminEnabled()Returns the value of theadminEnabledrecord component.- Returns:
- the value of the
adminEnabledrecord component
-
unsafeDeveloperMode
public boolean unsafeDeveloperMode()Returns the value of theunsafeDeveloperModerecord component.- Returns:
- the value of the
unsafeDeveloperModerecord component
-
pinSourceType
Returns the value of thepinSourceTyperecord component.- Returns:
- the value of the
pinSourceTyperecord component
-
lowerSafetyPinSource
public boolean lowerSafetyPinSource()Returns the value of thelowerSafetyPinSourcerecord component.- Returns:
- the value of the
lowerSafetyPinSourcerecord component
-
verifierFormat
Returns the value of theverifierFormatrecord component.- Returns:
- the value of the
verifierFormatrecord component
-
metadata
-