When you say at session start, do you mean when they login? If so,
how about the following?
Subject subject = SecurityUtils.getSubject();
subject.login(authcToken);
Session session = subject.getSession();
session.setAttribute("foo", "bar");
Les
On Thu, Feb 7, 2013 at 2:21 AM, ebuild <[email protected]> wrote:
> Hi,
> I'm using shiro in a web application, I need to hookup some session
> (business) attributes to the authenticated user.
> In a regular situation the attributes init must be done once at session
> start, but can't figure out how to implement it
>
> Any help?
>
>
>
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/How-to-populate-session-attributes-for-auth-user-tp7578237.html
> Sent from the Shiro User mailing list archive at Nabble.com.