Hi David, >From the subject you can either call getPrincipal() or getPrincipals() depending on your principals. For me I simple call getPrincipal() in order to get a username, but I call getPrincipals() to get access to other things (note: you do need to know the order within the collection).
Cheers, Stuart On Thu, Jan 30, 2014 at 5:41 PM, David Barron <[email protected]> wrote: > Is there a recommended way to add entries to a Subject's > PrincipleCollection? > I'd like to add things like first name and email so they can be called up > in > the app. > > Thanks > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/PrincipleCollection-tp7579605.html > Sent from the Shiro User mailing list archive at Nabble.com. >
