PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.web.roles
Class DefaultRoleValidator

java.lang.Object
  extended by 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

Constructor Summary
DefaultRoleValidator()
           
 
Method Summary
 void intialize(Map<String,String> options)
          Initialize the validator
 boolean userInRole(Principal userPrincipal, List<String> roles)
          Validate whether the principal with the given list of roles is valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRoleValidator

public DefaultRoleValidator()
Method Detail

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:

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.