wicket.authorization.strategies.role.example
Class UserRolesAuthorizer

java.lang.Object
  extended by wicket.authorization.strategies.role.example.UserRolesAuthorizer
All Implemented Interfaces:
wicket.authorization.strategies.role.IRoleCheckingStrategy

public class UserRolesAuthorizer
extends java.lang.Object
implements wicket.authorization.strategies.role.IRoleCheckingStrategy

The authorizer we need to provide to the authorization strategy implementation AnnotationsRoleAuthorizationStrategy.

Author:
Eelco Hillenius

Constructor Summary
UserRolesAuthorizer()
          Construct.
 
Method Summary
 boolean hasAnyRole(wicket.authorization.strategies.role.Roles roles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserRolesAuthorizer

public UserRolesAuthorizer()
Construct.

Method Detail

hasAnyRole

public boolean hasAnyRole(wicket.authorization.strategies.role.Roles roles)
Specified by:
hasAnyRole in interface wicket.authorization.strategies.role.IRoleCheckingStrategy
See Also:
IRoleCheckingStrategy.hasAnyRole(Roles)


Copyright © 2005-2007 Wicket developers. All Rights Reserved.