aerogear-security-picketbox 1.0.0.M1

org.jboss.aerogear.security.picketbox.authz
Class IdentityManagementImpl

java.lang.Object
  extended by org.jboss.aerogear.security.picketbox.authz.IdentityManagementImpl
All Implemented Interfaces:
org.jboss.aerogear.security.authz.IdentityManagement

@ApplicationScoped
public class IdentityManagementImpl
extends Object
implements org.jboss.aerogear.security.authz.IdentityManagement

IdentityManagement allows to assign a set of roles to AeroGearUser on Identity Manager provider


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.aerogear.security.authz.IdentityManagement
org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods
 
Field Summary
private  GrantConfiguration grantConfiguration
           
 
Constructor Summary
IdentityManagementImpl()
           
 
Method Summary
 org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods grant(String... roles)
          This method allows to specify which roles must be assigned to AeroGearUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grantConfiguration

@Inject
private GrantConfiguration grantConfiguration
Constructor Detail

IdentityManagementImpl

public IdentityManagementImpl()
Method Detail

grant

public org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods grant(String... roles)
This method allows to specify which roles must be assigned to AeroGearUser

Specified by:
grant in interface org.jboss.aerogear.security.authz.IdentityManagement
Parameters:
roles - The list of roles.
Returns:
GrantMethods is a builder which a allows to apply a list of roles to the specified AeroGearUser.

aerogear-security-picketbox 1.0.0.M1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.