Record Class AdministrativeDecisionActor
java.lang.Object
java.lang.Record
zeroecho.pki.server.AdministrativeDecisionActor
- Record Components:
principalId- authenticated administrative principalcredentialEvidence- verified end-client evidence, or empty when unsupported or absent
public record AdministrativeDecisionActor(String principalId, Optional<CertificateIdentityEvidence> credentialEvidence)
extends Record
Immutable trusted administrative actor passed from gateway authorization to
control dispatch. Evidence originates at the authenticated end-client boundary,
never operation parameters. An embedded principal-only actor has no enrollment
decision evidence; unrelated operations retain their existing behavior.
-
Constructor Summary
ConstructorsConstructorDescriptionAdministrativeDecisionActor(String principalId, Optional<CertificateIdentityEvidence> credentialEvidence) Validates the actor without manufacturing missing credential evidence. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecredentialEvidencerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theprincipalIdrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
AdministrativeDecisionActor
public AdministrativeDecisionActor(String principalId, Optional<CertificateIdentityEvidence> credentialEvidence) Validates the actor without manufacturing missing credential evidence.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
principalId
Returns the value of theprincipalIdrecord component.- Returns:
- the value of the
principalIdrecord component
-
credentialEvidence
Returns the value of thecredentialEvidencerecord component.- Returns:
- the value of the
credentialEvidencerecord component
-