public void removeRelationship(
      IdentityStoreInvocationContext invocationCxt,
      IdentityObject fromIdentity,
      IdentityObject toIdentity,
      IdentityObjectRelationshipType relationshipType,
      String relationshipName)
      throws IdentityException {
    identityStore.removeRelationship(
        invocationCxt, fromIdentity, toIdentity, relationshipType, relationshipName);

    cacheSupport.invalidateIdentityObjectRelationshipNameSearches(getCacheNS(invocationCxt));
    cacheSupport.invalidateIdentityObjectRelationshipSearches(getCacheNS(invocationCxt));
    cacheSupport.invalidateIdentityObjectSearches(getCacheNS(invocationCxt));
    IdentityObjectRelationship relationship =
        new SimpleIdentityObjectRelationship(
            fromIdentity, toIdentity, relationshipName, relationshipType);
    cacheSupport.invalidateRelationshipProperties(getCacheNS(invocationCxt), relationship);
  }