-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: enhancementA general enhancementA general enhancement
Milestone
Description
Pierre Fouché opened SPR-11302 and commented
The DefaultUserDestinationResolver
in org.springframework.messaging.simp.user
uses the user name obtained from the current Principal
to build user-specific destinations.
However the user name can itself be a URI in some cases (eg when using OpenId authentication). Having slashes in the user name breaks the resolution of the targetDestination
.
It seems to me that encoding (using SHA-1 for instance) the user name would make the algorithm more robust.
Affects: 4.0 GA
Referenced from: commits d03fb89
Metadata
Metadata
Assignees
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: enhancementA general enhancementA general enhancement