PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.web.interfaces
Interface IRoleValidator

All Known Implementing Classes:
DefaultRoleValidator

public interface IRoleValidator

Validate the passed Roles

Since:
Aug 21, 2009
Author:
Anil.Saldhana@redhat.com

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
 

Method Detail

intialize

void intialize(Map<String,String> options)
Initialize the validator

Parameters:
options -

userInRole

boolean userInRole(Principal userPrincipal,
                   List<String> roles)
Validate whether the principal with the given list of roles is valid

Parameters:
userPrincipal -
roles -
Returns:

PicketLink Federation Core 2.1.6.Final-redhat-2

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