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)
IRoleValidator
intialize
in interface IRoleValidator
public boolean userInRole(Principal userPrincipal, List<String> roles)
IRoleValidator
userInRole
in interface IRoleValidator
Copyright © 2020 JBoss by Red Hat. All rights reserved.