@ApplicationScoped public class GrantConfiguration extends Object implements org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods
AeroGearUser| Modifier and Type | Field and Description |
|---|---|
private org.picketlink.idm.IdentityManager |
identityManager |
private List<org.picketlink.idm.model.Role> |
list |
| Constructor and Description |
|---|
GrantConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
GrantConfiguration |
roles(String[] roles)
This method specifies which roles will be applied to
AeroGearUser |
void |
to(org.jboss.aerogear.security.model.AeroGearUser aeroGearUser)
This method applies roles specified on
IdentityManagement.grant(String...) |
@Inject private org.picketlink.idm.IdentityManager identityManager
private List<org.picketlink.idm.model.Role> list
public GrantConfiguration roles(String[] roles)
AeroGearUserroles - Array of rolespublic void to(org.jboss.aerogear.security.model.AeroGearUser aeroGearUser)
IdentityManagement.grant(String...)to in interface org.jboss.aerogear.security.authz.IdentityManagement.GrantMethodsaeroGearUser - represents a simple user's implementation to hold credentials.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.