org.wicketopia.shiro
Class ShiroSecurityProvider

java.lang.Object
  extended by org.wicketopia.shiro.ShiroSecurityProvider
All Implemented Interfaces:
Serializable, SecurityProvider

public class ShiroSecurityProvider
extends Object
implements SecurityProvider

Since:
1.0
See Also:
Serialized Form

Constructor Summary
ShiroSecurityProvider()
           
 
Method Summary
 boolean checkRoles(Set<String> roles)
          Checks to see if the user has one of the specified roles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShiroSecurityProvider

public ShiroSecurityProvider()
Method Detail

checkRoles

public boolean checkRoles(Set<String> roles)
Description copied from interface: SecurityProvider
Checks to see if the user has one of the specified roles.

Specified by:
checkRoles in interface SecurityProvider
Parameters:
roles - the roles
Returns:
true if the current user has one of the specified roles


Copyright © 2010-2013. All Rights Reserved.