Use exact type name in doc sample

Issue: SPR-15863
master
Rossen Stoyanchev 7 years ago
parent 3f4ec37262
commit 181f002ddf
  1. 2
      src/docs/asciidoc/web/web-websocket.adoc

@ -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);
}

Loading…
Cancel
Save