security.dynamic
Class AllowToVote

java.lang.Object
  extended by be.objectify.deadbolt.java.AbstractDynamicResourceHandler
      extended by security.dynamic.AllowToVote
All Implemented Interfaces:
be.objectify.deadbolt.java.DynamicResourceHandler

public class AllowToVote
extends be.objectify.deadbolt.java.AbstractDynamicResourceHandler


Field Summary
static java.lang.String KEY
           
 
Constructor Summary
AllowToVote()
           
 
Method Summary
 boolean isAllowed(java.lang.String name, java.lang.String meta, be.objectify.deadbolt.java.DeadboltHandler deadboltHandler, play.mvc.Http.Context ctx)
           
 
Methods inherited from class be.objectify.deadbolt.java.AbstractDynamicResourceHandler
checkPermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.String KEY
See Also:
Constant Field Values
Constructor Detail

AllowToVote

public AllowToVote()
Method Detail

isAllowed

public boolean isAllowed(java.lang.String name,
                         java.lang.String meta,
                         be.objectify.deadbolt.java.DeadboltHandler deadboltHandler,
                         play.mvc.Http.Context ctx)
Specified by:
isAllowed in interface be.objectify.deadbolt.java.DynamicResourceHandler
Overrides:
isAllowed in class be.objectify.deadbolt.java.AbstractDynamicResourceHandler