org.wicketopia.security
Interface SecurityProvider

All Superinterfaces:
Serializable
All Known Implementing Classes:
ShiroSecurityProvider, SpringSecurityProvider

public interface SecurityProvider
extends Serializable

Since:
1.0

Method Summary
 boolean checkRoles(Set<String> roles)
          Checks to see if the user has one of the specified roles.
 

Method Detail

checkRoles

boolean checkRoles(Set<String> roles)
Checks to see if the user has one of the specified roles.

Parameters:
roles - the roles
Returns:
true if the current user has one of the specified roles


Copyright © 2010-2013. All Rights Reserved.