org.apache.wicket.examples.authorization
Class UserRolesAuthorizer

java.lang.Object
  extended by org.apache.wicket.examples.authorization.UserRolesAuthorizer
All Implemented Interfaces:
IRoleCheckingStrategy

public class UserRolesAuthorizer
extends java.lang.Object
implements IRoleCheckingStrategy

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

Author:
Eelco Hillenius

Constructor Summary
UserRolesAuthorizer()
          Construct.
 
Method Summary
 boolean hasAnyRole(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(Roles roles)
Specified by:
hasAnyRole in interface IRoleCheckingStrategy
See Also:
IRoleCheckingStrategy.hasAnyRole(Roles)


Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.