org.picketlink.identity.federation.web.roles
Class DefaultRoleValidator
java.lang.Object
org.picketlink.identity.federation.web.roles.DefaultRoleValidator
- All Implemented Interfaces:
- IRoleValidator
public class DefaultRoleValidator
- extends Object
- implements IRoleValidator
- Since:
- Aug 21, 2009
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRoleValidator
public DefaultRoleValidator()
intialize
public void intialize(Map<String,String> options)
- Description copied from interface:
IRoleValidator
- Initialize the validator
- Specified by:
intialize
in interface IRoleValidator
userInRole
public boolean userInRole(Principal userPrincipal,
List<String> roles)
- Description copied from interface:
IRoleValidator
- Validate whether the principal with the given list of roles is valid
- Specified by:
userInRole
in interface IRoleValidator
- Returns:
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.