1
0
mirror of synced 2026-08-05 01:36:56 +00:00

Documents the new @AuthenticationPrincipal in more detail.

Fixes gh-3771
This commit is contained in:
Joe Grandja
2016-04-13 12:27:23 -04:00
parent 95a3e30d9f
commit 2ef3da1b47
4 changed files with 14 additions and 10 deletions
@@ -29,8 +29,7 @@ import org.springframework.security.core.Authentication;
* should be resolved to the current user rather than a user that might be edited on a
* form.
*
* @deprecated Use org.springframework.security.core.annotation.AuthenticationPrincipal
* instead
* @deprecated Use {@link org.springframework.security.core.annotation.AuthenticationPrincipal} instead.
*
* @author Rob Winch
* @since 3.2
@@ -77,8 +77,7 @@ import org.springframework.web.method.support.ModelAndViewContainer;
* }
* </pre>
*
* @deprecated use org.springframework.security.web.method.annotation.
* AuthenticationPrincipalArgumentResolver
* @deprecated Use {@link org.springframework.security.web.method.annotation.AuthenticationPrincipalArgumentResolver} instead.
*
* @author Rob Winch
* @since 3.2