[security-dev] explain relationship between partition and IdentityManager

Pedro Igor Silva psilva at redhat.com
Mon Jun 24 09:49:54 EDT 2013


----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: security-dev at lists.jboss.org
> Sent: Monday, June 24, 2013 9:37:48 AM
> Subject: [security-dev] explain relationship between partition and	IdentityManager
> 
> It looks like you create an IdentityManager that is assigned to a
> particular partition. Correct?

    Yes, a IM is always associated with a specific Partition. If none is provided (eg.: IMF.createIdentityManager()), the Realm.DEFAULT partition is used.

> 
> So, if I do a idm.getRole(name) will it include the partition within the
> search automatically?
> 
    
    Yes, it will.

> 
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> security-dev mailing list
> security-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/security-dev
> 


More information about the security-dev mailing list