public class DefaultRoleValidator extends Object implements IRoleValidator
| Constructor and Description |
|---|
DefaultRoleValidator() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public void intialize(Map<String,String> options)
IRoleValidatorintialize in interface IRoleValidatorpublic boolean userInRole(Principal userPrincipal, List<String> roles)
IRoleValidatoruserInRole in interface IRoleValidatorCopyright © 2018 JBoss by Red Hat. All rights reserved.