Record Class Permission.Scope
java.lang.Object
java.lang.Record
zeroecho.pki.server.Permission.Scope
- Record Components:
realmId- realm identity- explicit logical authority when applicableissuerId- explicit issuer generation when applicableprofileId- explicit profile when applicableresponderId- explicit OCSP responder when applicable
- Enclosing class:
Permission
-
Constructor Summary
ConstructorsConstructorDescriptionScope(RealmId realmId, Optional<PkiId> authorityId, Optional<PkiId> issuerId, Optional<String> profileId) Creates a scope without an OCSP responder dimension.Scope(RealmId realmId, Optional<PkiId> authorityId, Optional<PkiId> issuerId, Optional<String> profileId, Optional<String> responderId) Validates the exact finite scope. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.issuerId()Returns the value of theissuerIdrecord component.Returns the value of theprofileIdrecord component.realmId()Returns the value of therealmIdrecord component.Returns the value of theresponderIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Scope
-
Scope
public Scope(RealmId realmId, Optional<PkiId> authorityId, Optional<PkiId> issuerId, Optional<String> profileId) Creates a scope without an OCSP responder dimension.- Parameters:
realmId- realm identityauthorityId- explicit logical authority when applicableissuerId- explicit issuer generation when applicableprofileId- explicit profile when applicable
-
-
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). -
realmId
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
issuerId
-
profileId
-
responderId
Returns the value of theresponderIdrecord component.- Returns:
- the value of the
responderIdrecord component
-