Use exact type name in doc sample
Issue: SPR-15863
This commit is contained in:
@@ -1758,7 +1758,7 @@ user and associate it with subsequent STOMP messages on the same session:
|
||||
MessageHeaderAccessor.getAccessor(message, StompHeaderAccessor.class);
|
||||
|
||||
if (StompCommand.CONNECT.equals(accessor.getCommand())) {
|
||||
Principal user = ... ; // access authentication header(s)
|
||||
Authentication user = ... ; // access authentication header(s)
|
||||
accessor.setUser(user);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user