public void setRelationshipProperties(
      IdentityStoreInvocationContext ctx,
      IdentityObjectRelationship relationship,
      Map<String, String> properties)
      throws IdentityException, OperationNotSupportedException {
    identityStore.setRelationshipProperties(ctx, relationship, properties);

    cacheSupport.invalidateRelationshipProperties(getCacheNS(ctx), relationship);
    cacheSupport.putProperties(
        getCacheNS(ctx), relationship, getRelationshipProperties(ctx, relationship));
  }