spring-framework / org.springframework.messaging.simp.user

Package org.springframework.messaging.simp.user

Types

DestinationUserNameProvider

interface DestinationUserNameProvider

A java.security.Principal can also implement this contract when getName() isn't globally unique and therefore not suited for use with "user" destinations.

MultiServerUserRegistry

open class MultiServerUserRegistry : SimpUserRegistry, SmartApplicationListener

SimpUserRegistry that looks up users in a "local" user registry as well as a set of "remote" user registries. The local registry is provided as a constructor argument while remote registries are updated via broadcasts handled by UserRegistryMessageHandler which in turn notifies this registry when updates are received.

SimpUser

interface SimpUser

Represents a connected user.

UserDestinationResult

open class UserDestinationResult

Contains the result from parsing a "user" destination from a source message and translating it to target destinations (one per active user session).