public class DefaultSecurityInterceptor extends Object implements SecurityInterceptor
org.tynamo.shiro.extension.authz.annotations.utils.AnnotationFactory
for convert class annotation to method annotation.| Constructor and Description |
|---|
DefaultSecurityInterceptor(Annotation annotation)
Initialize
handler field use annotation. |
DefaultSecurityInterceptor(org.apache.shiro.authz.aop.AuthorizingAnnotationHandler handler,
Annotation annotation)
Used in cases where previously known
AuthorizingAnnotationHandler object. |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
getAnnotation() |
void |
intercept()
The method which is performed before the method that you want to check.
|
public DefaultSecurityInterceptor(org.apache.shiro.authz.aop.AuthorizingAnnotationHandler handler,
Annotation annotation)
AuthorizingAnnotationHandler object.
if the handler object is unknown use DefaultSecurityInterceptor(Annotation) constructorhandler - annotation - public DefaultSecurityInterceptor(Annotation annotation)
handler field use annotation.annotation - annotation for create handler and use during
intercept() invocation.public void intercept()
SecurityInterceptorintercept in interface SecurityInterceptorpublic Annotation getAnnotation()
Copyright © 2004–2018. All rights reserved.