org.tynamo.shiro.extension.authz.annotations.utils.casters.method
Class HandlerCreateVisitor

java.lang.Object
  extended by org.tynamo.shiro.extension.authz.annotations.utils.casters.method.HandlerCreateVisitor
All Implemented Interfaces:
MethodAnnotationCasterVisitor

public class HandlerCreateVisitor
extends java.lang.Object
implements MethodAnnotationCasterVisitor

Creates a handler based on the annotation type.


Constructor Summary
HandlerCreateVisitor()
           
 
Method Summary
 org.apache.shiro.authz.aop.AuthorizingAnnotationHandler getHandler()
           
 void visitNotFound()
           
 void visitRequiresAuthentication(org.apache.shiro.authz.annotation.RequiresAuthentication annotation)
           
 void visitRequiresGuest(org.apache.shiro.authz.annotation.RequiresGuest annotation)
           
 void visitRequiresPermissions(org.apache.shiro.authz.annotation.RequiresPermissions annotation)
           
 void visitRequiresRoles(org.apache.shiro.authz.annotation.RequiresRoles annotation)
           
 void visitRequiresUser(org.apache.shiro.authz.annotation.RequiresUser annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerCreateVisitor

public HandlerCreateVisitor()
Method Detail

visitRequiresAuthentication

public void visitRequiresAuthentication(org.apache.shiro.authz.annotation.RequiresAuthentication annotation)
Specified by:
visitRequiresAuthentication in interface MethodAnnotationCasterVisitor

visitRequiresGuest

public void visitRequiresGuest(org.apache.shiro.authz.annotation.RequiresGuest annotation)
Specified by:
visitRequiresGuest in interface MethodAnnotationCasterVisitor

visitRequiresPermissions

public void visitRequiresPermissions(org.apache.shiro.authz.annotation.RequiresPermissions annotation)
Specified by:
visitRequiresPermissions in interface MethodAnnotationCasterVisitor

visitRequiresRoles

public void visitRequiresRoles(org.apache.shiro.authz.annotation.RequiresRoles annotation)
Specified by:
visitRequiresRoles in interface MethodAnnotationCasterVisitor

visitRequiresUser

public void visitRequiresUser(org.apache.shiro.authz.annotation.RequiresUser annotation)
Specified by:
visitRequiresUser in interface MethodAnnotationCasterVisitor

visitNotFound

public void visitNotFound()
Specified by:
visitNotFound in interface MethodAnnotationCasterVisitor

getHandler

public org.apache.shiro.authz.aop.AuthorizingAnnotationHandler getHandler()


Copyright © 2004-2012. All Rights Reserved.