Class BlueMindSubjectMismatchException

All Implemented Interfaces:
Serializable

public class BlueMindSubjectMismatchException extends BlueMindException
The session BlueMind opened belongs to somebody other than the account eXo meant to edit, so nothing was sent (EXO-90277).

A change addressed to an account is made with the credentials stored for one eXo login, and addressed to a directory entry uid eXo recorded for that account. Those two facts can drift apart — a colleague reconnected as another BlueMind user, a principal recorded from a stale discovery. A client editing on someone's behalf compares authUser.uid from the login answer with the uid it was asked to edit before any write, and refuses on a difference, so the one account eXo ever writes to with a person's password is that person's own.

Final by nature: the recorded principal has to be re-discovered for the comparison to change, which is not the client's job. The caller gives up the change rather than counting attempts against it.

See Also:
  • Constructor Details

    • BlueMindSubjectMismatchException

      public BlueMindSubjectMismatchException(String message)
      A refused edit explained by its message alone — never naming a key or a password, and never the login.
      Parameters:
      message - what did not match, in uid terms