Use exact type name in doc sample

Issue: SPR-15863
This commit is contained in:
Rossen Stoyanchev 2017-08-15 14:45:57 +02:00
parent 35248498ae
commit 8b64ad3192
1 changed files with 1 additions and 1 deletions

View File

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