org.springframework.messaging.simp.user

## Interface DestinationUserNameProvider

-     public interface DestinationUserNameProvider

  An interface to be implemented in addition to `Principal` when `Principal.getName()` is not globally unique enough for use in user destinations. For more on user destination see `UserDestinationResolver`.
  Since:
    4.0.1
  Author:
    Rossen Stoyanchev

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDestinationUserName()` Return the (globally unique) user name to use with user destinations.

- - ### Method Detail

    - #### getDestinationUserName

          String getDestinationUserName()

      Return the (globally unique) user name to use with user destinations.