org.wicketopia.security.predicate
Class RequiredRolesPredicate

java.lang.Object
  extended by org.wicketopia.security.predicate.RequiredRolesPredicate
All Implemented Interfaces:
ContextPredicate

public class RequiredRolesPredicate
extends Object
implements ContextPredicate

Since:
1.0

Constructor Summary
RequiredRolesPredicate(SecurityProvider securityProvider, String... roles)
           
 
Method Summary
 boolean evaluate(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequiredRolesPredicate

public RequiredRolesPredicate(SecurityProvider securityProvider,
                              String... roles)
Method Detail

evaluate

public boolean evaluate(Context context)
Specified by:
evaluate in interface ContextPredicate


Copyright © 2010-2013. All Rights Reserved.