|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tynamo.shiro.extension.authz.aop.DefaultSecurityInterceptor
public class DefaultSecurityInterceptor
Generic interceptor for use in different aop implementations. Created based on method annotation.
To create the interceptor based on the class annotation, useorg.tynamo.shiro.extension.authz.annotations.utils.AnnotationFactory
for convert class annotation to method annotation.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
Annotation |
getAnnotation()
|
void |
intercept()
The method which is performed before the method that you want to check. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSecurityInterceptor(org.apache.shiro.authz.aop.AuthorizingAnnotationHandler handler,
Annotation annotation)
AuthorizingAnnotationHandler object.
if the handler object is unknown use DefaultSecurityInterceptor(Annotation) constructor
handler - annotation - public DefaultSecurityInterceptor(Annotation annotation)
handler field use annotation.
annotation - annotation for create handler and use during
intercept() invocation.| Method Detail |
|---|
public void intercept()
SecurityInterceptor
intercept in interface SecurityInterceptorpublic Annotation getAnnotation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||