Class DefaultSecurityInterceptor

java.lang.Object
org.tynamo.shiro.extension.authz.aop.DefaultSecurityInterceptor
All Implemented Interfaces:
SecurityInterceptor

public class DefaultSecurityInterceptor extends Object implements SecurityInterceptor
Generic interceptor for use in different aop implementations. Created based on method annotation. To create the interceptor based on the class annotation, use
invalid reference
org.tynamo.shiro.extension.authz.annotations.utils.AnnotationFactory
for convert class annotation to method annotation.
  • Constructor Details

    • DefaultSecurityInterceptor

      public DefaultSecurityInterceptor(org.apache.shiro.authz.aop.AuthorizingAnnotationHandler handler, Annotation annotation)
      Used in cases where previously known AuthorizingAnnotationHandler object. if the handler object is unknown use DefaultSecurityInterceptor(Annotation) constructor
      Parameters:
      handler - given AnnotationHandler
      annotation - the annotation itself
    • DefaultSecurityInterceptor

      public DefaultSecurityInterceptor(Annotation annotation)
      Initialize handler field use annotation.
      Parameters:
      annotation - annotation for create handler and use during intercept() invocation.
  • Method Details