# Package org.springframework.messaging.simp.user

Support for handling messages to "user" destinations (i.e.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DestinationUserNameProvider | An interface to be implemented in addition to `Principal` when `Principal.getName()` is not globally unique enough for use in user destinations.
  UserDestinationResolver | A strategy for resolving a "user" destination and translating it to one or more actual destinations unique to the user's active session(s).
  UserSessionRegistry | A registry for looking up active session id's by user.

- Class Summary
  Class | Description
  --- | ---
  DefaultUserDestinationResolver | A default implementation of `UserDestinationResolver` that relies on the `UserSessionRegistry` provided to the constructor to find the sessionIds associated with a user and then uses the sessionId to make the target destination unique.
  DefaultUserSessionRegistry | A default thread-safe implementation of `UserSessionRegistry`.
  UserDestinationMessageHandler | Provides support for messages sent to "user" destinations, translating the destination to one or more user-specific destination(s) and then sending message(s) with the updated target destination using the provided messaging template.
  UserDestinationResult | A simple container for the result of parsing and translating a "user" destination in some source message into a set of actual target destinations by calling `UserDestinationResolver`.

## Package org.springframework.messaging.simp.user Description

Support for handling messages to "user" destinations (i.e. destinations that are unique to a user's sessions), primarily translating the destinations and then forwarding the updated message to the broker.

Also included is `UserSessionRegistry` for keeping track of connected user sessions.