Class ScimMembershipPatch
java.lang.Object
com.revetsec.scim.ScimMembershipPatch
Ordered, ID-only Group membership instructions and the remaining resource operations.
Applications execute both parts in original operation-index order under one authorization
decision, transaction and version predicate. Existing member metadata and represented order
must be retained when adding an existing ID or retaining an ID during replacement; removing
then adding an ID creates a new member without the removed metadata.
Reduction does not inspect current membership and cannot establish whether anything changed. Applications require assigned, unique member IDs in their keyed storage snapshot and preserve whether the optional members attribute is absent or holds an empty array. Duplicate IDs in a whole-array replacement require full evaluation. Explicit value getters may disclose personal data; diagnostics redact them.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOrdered instruction kinds; compare member IDs exactly, regardless of text collation.static final classOne executable membership instruction at its original zero-based operation position. -
Method Summary
Modifier and TypeMethodDescriptionReturns remaining nonmember operations with their original indexes and private provenance.Returns attempted canonical paths from the complete original request, including no-op attempts.Returns the original resource-type registration.getSteps()Returns membership steps in original request order.Returns canonical paths actually supplied by the complete original request.toString()Returns a fixed redacted diagnostic.
-
Method Details
-
getResourceType
Returns the original resource-type registration.- Returns:
- resource type
- Since:
- 1.0.0
-
getSteps
Returns membership steps in original request order.- Returns:
- immutable ordered steps
- Since:
- 1.0.0
-
getRemainingPatchRequest
Returns remaining nonmember operations with their original indexes and private provenance.- Returns:
- the remaining request, or empty when every operation was reduced
- Since:
- 1.0.0
-
getRequestedAttributePaths
Returns attempted canonical paths from the complete original request, including no-op attempts.- Returns:
- immutable requested paths
- Since:
- 1.0.0
-
getSuppliedAttributePaths
Returns canonical paths actually supplied by the complete original request.- Returns:
- immutable supplied paths
- Since:
- 1.0.0
-
toString
-