Requires the current Subject to have been authenticated <em>during their current session</em> for the annotated
class/instance/method to be accessed or invoked. This is <em>more</em> restrictive than the
{@link RequiresUser RequiresUser} annotation.
<p/>
This annotation basically ensures that
<code>{@link hunt.shiro.subject.Subject subject}.{@link hunt.shiro.subject.Subject#isAuthenticated() isAuthenticated()} === true</code>
<p/>
See the {@link RequiresUser RequiresUser} and
{@link hunt.shiro.authc.RememberMeAuthenticationToken RememberMeAuthenticationToken} JavaDoc for an
explanation of why these two states are considered different.
Requires the current Subject to have been authenticated <em>during their current session</em> for the annotated class/instance/method to be accessed or invoked. This is <em>more</em> restrictive than the {@link RequiresUser RequiresUser} annotation. <p/> This annotation basically ensures that <code>{@link hunt.shiro.subject.Subject subject}.{@link hunt.shiro.subject.Subject#isAuthenticated() isAuthenticated()} === true</code> <p/> See the {@link RequiresUser RequiresUser} and {@link hunt.shiro.authc.RememberMeAuthenticationToken RememberMeAuthenticationToken} JavaDoc for an explanation of why these two states are considered different.
@see RequiresUser @see RequiresGuest