Class ContextAwarePermissionAnnotationHandler

java.lang.Object
org.apache.shiro.aop.AnnotationHandler
org.apache.shiro.authz.aop.AuthorizingAnnotationHandler
org.apache.shiro.authz.aop.PermissionAnnotationHandler
org.graylog2.shared.security.ContextAwarePermissionAnnotationHandler

public class ContextAwarePermissionAnnotationHandler extends org.apache.shiro.authz.aop.PermissionAnnotationHandler
  • Field Summary

    Fields inherited from class org.apache.shiro.aop.AnnotationHandler

    annotationClass
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.shiro.subject.Subject
     

    Methods inherited from class org.apache.shiro.authz.aop.PermissionAnnotationHandler

    assertAuthorized, getAnnotationValue

    Methods inherited from class org.apache.shiro.aop.AnnotationHandler

    getAnnotationClass, setAnnotationClass

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ContextAwarePermissionAnnotationHandler

      public ContextAwarePermissionAnnotationHandler(ShiroSecurityContext context)
  • Method Details

    • getSubject

      protected org.apache.shiro.subject.Subject getSubject()
      Overrides:
      getSubject in class org.apache.shiro.aop.AnnotationHandler