> I propose that we add a 'getPrimaryPrincipal()' method to the
> PrincipalCollection interface.

I do like this option. With regard to Alan's comment, the primary
principal is (in my view) something that's important to the
application, not to the realms. So the application should decide what
constitutes the primary principal. Of course, I guess realms can also
have their own primary principal, so there's a possibility for
confusion here.

Peter

Reply via email to