From 8b64ad3192b46feb9cad0de582496c37100d2fdc Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 15 Aug 2017 14:45:57 +0200 Subject: [PATCH] Use exact type name in doc sample Issue: SPR-15863 --- src/asciidoc/web-websocket.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asciidoc/web-websocket.adoc b/src/asciidoc/web-websocket.adoc index b47c9a7df1..9f6c176fb0 100644 --- a/src/asciidoc/web-websocket.adoc +++ b/src/asciidoc/web-websocket.adoc @@ -1763,7 +1763,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); }