@Target(value={TYPE,METHOD,PARAMETER}) @Retention(value=RUNTIME) public @interface LoggedIn
UserAccount of the currently logged in user
injected. The method parameter needs to be either of type Optional<UserAccount> (for methods that can support
non-authenticated access) or UserAccount. In the latter case a ServletRequestBindingException will be
thrown if no UserAccount could have been obtained in the first place.LoggedInUserAccountArgumentResolverCopyright © 2018 Pivotal Software, Inc.. All rights reserved.