PrincipalCollection should have a getPrimaryPrincipal() method
--------------------------------------------------------------

                 Key: SHIRO-105
                 URL: https://issues.apache.org/jira/browse/SHIRO-105
             Project: Shiro
          Issue Type: New Feature
          Components: Realms 
    Affects Versions: 1.0
            Reporter: Les Hazlewood
            Assignee: Les Hazlewood
             Fix For: 1.0


Per mailing list discussion, it would be nice to have a 
PrincipalCollection#getPrimaryPrincipal() method which would be the primary 
principal associated with a realm.  The default implementation of that method 
would continue to be the existing behavior (first element in the first realm's 
Principal collection).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to