Browse Source

Use exact type name in doc sample

Issue: SPR-15863
pull/1486/merge
Rossen Stoyanchev 9 years ago
parent
commit
181f002ddf
  1. 2
      src/docs/asciidoc/web/web-websocket.adoc

2
src/docs/asciidoc/web/web-websocket.adoc

@ -1758,7 +1758,7 @@ user and associate it with subsequent STOMP messages on the same session: @@ -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