Annotation Interface LoggedIn
Annotation to mark the method parameter with that shall get the
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.- Author:
- Paul Henke, Oliver Gierke
- See Also: