@ApplicationScoped public class IdentityManagementImpl extends Object implements org.jboss.aerogear.security.authz.IdentityManagement
AeroGearUser on Identity Manager provider| Modifier and Type | Field and Description |
|---|---|
private GrantConfiguration |
grantConfiguration |
private org.picketlink.idm.IdentityManager |
identityManager |
| Constructor and Description |
|---|
IdentityManagementImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(org.jboss.aerogear.security.model.AeroGearUser aeroGearUser)
This method creates a new
AeroGearUser |
List<org.jboss.aerogear.security.model.AeroGearUser> |
findAllByRole(String role) |
org.jboss.aerogear.security.model.AeroGearUser |
get(String id) |
org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods |
grant(String... roles)
This method allows to specify which roles must be assigned to
AeroGearUser |
void |
remove(org.jboss.aerogear.security.model.AeroGearUser aeroGearUser) |
@Inject private org.picketlink.idm.IdentityManager identityManager
@Inject private GrantConfiguration grantConfiguration
public org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods grant(String... roles)
AeroGearUsergrant in interface org.jboss.aerogear.security.authz.IdentityManagementroles - The list of roles.GrantMethods is a builder which a allows to apply a list of roles to the specified AeroGearUser.public org.jboss.aerogear.security.model.AeroGearUser get(String id) throws RuntimeException
get in interface org.jboss.aerogear.security.authz.IdentityManagementRuntimeExceptionpublic void remove(org.jboss.aerogear.security.model.AeroGearUser aeroGearUser)
remove in interface org.jboss.aerogear.security.authz.IdentityManagementpublic List<org.jboss.aerogear.security.model.AeroGearUser> findAllByRole(String role)
findAllByRole in interface org.jboss.aerogear.security.authz.IdentityManagementpublic void create(org.jboss.aerogear.security.model.AeroGearUser aeroGearUser)
AeroGearUsercreate in interface org.jboss.aerogear.security.authz.IdentityManagementaeroGearUser - Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.