Package org.apache.shiro.authz.annotation


package org.apache.shiro.authz.annotation
Annotations used to restrict which classes, instances, or methods may be accessed or invoked depending on the caller's access abilities or authentication state. Since 1.1, all core annotations were extends to accept Target ElementType.TYPE in addition to ElementType.METHOD
  • Class
    Description
    An enum for specifying a logical operation that can be used for interpreting authorization annotations
    Requires the current Subject to have been authenticated during their current session for the annotated class/instance/method to be accessed or invoked.
    Requires the current Subject to be a "guest", that is, they are not authenticated or remembered from a previous session for the annotated class/instance/method to be accessed or invoked.
    Requires the current executor's Subject to imply a particular permission in order to execute the annotated method.
    Requires the currently executing Subject to have all of the specified roles.
    Requires the current Subject to be an application user for the annotated class/instance/method to be accessed or invoked.