Annotation Type RequiresUser

public @interface RequiresUser

Requires the current Subject to be an application user for the annotated class/instance/method to be accessed or invoked. This is less restrictive than the RequiresAuthentication annotation.

Shiro defines a "user" as a Subject that is either "remembered" or authenticated:

See the RememberMeAuthenticationToken JavaDoc for an explaination of why these two states are considered different.

See Also:
RequiresAuthentication, RequiresGuest

Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.