org.wicketopia.spring.security
Class SpringSecurityProvider
java.lang.Object
org.wicketopia.spring.security.SpringSecurityProvider
- All Implemented Interfaces:
- Serializable, SecurityProvider
public class SpringSecurityProvider
- extends Object
- implements SecurityProvider
- Since:
- 1.0
- See Also:
- Serialized Form
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 |
SpringSecurityProvider
public SpringSecurityProvider()
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.