On Fri, Jul 20, 2012 at 8:27 AM, tarka <[email protected]> wrote:
> The above code actually works! The problem is coming from trying to retrieve
> the principals! At the moment I am getting a LinkedHashMap inside a
> SimplePrincipalCollection object returned.

You are getting or "you are trying to get"?

> How can I simply access the LinkedHashMap keys directly?

The simple answer is you don't. Use the operations of
PrincipalCollection to return a principal specific to your needs, for
example getPrimaryPrincipal(), oneByType() or fromRealm(...).

Kalle

Reply via email to