Record Class BreakGlassService.ActiveGrants
java.lang.Object
java.lang.Record
zeroecho.pki.server.BreakGlassService.ActiveGrants
- Record Components:
grants- immutable active grantsgrantIds- immutable identifiers of the active grants
- Enclosing class:
BreakGlassService
public static record BreakGlassService.ActiveGrants(List<Permission.Grant> grants, Set<String> grantIds)
extends Record
Active grants plus their identities for authorization and use auditing.
-
Constructor Summary
ConstructorsConstructorDescriptionActiveGrants(List<Permission.Grant> grants, Set<String> grantIds) Defensively snapshots active grants. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.grantIds()Returns the value of thegrantIdsrecord component.grants()Returns the value of thegrantsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActiveGrants
Defensively snapshots active grants.
-
-
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). -
grants
-
grantIds
-