Hi I looked around for posts on user and session. I could not find anything particular to what I want, so do bear with me if it sounds familiar and has been answered.
Scenario:User Logs in: User is authenticated and the user/subject is placed into Shiro's session in the following way.. new SimpleAuthenticationInfo(userVO.getUserName(), userVO.getPassword(),getName());(In the Realm) Post Login: 1. User does a search for things, selects an item from a list. What I want to achieve onSelection of the thing is: 1. To load the item user had selected and associate it with the subject in session. 2. To access the subject's principal and get access to this object/item that was added in Step 1. In regard to SimpleAuthenticationInfo, will I be able to store the UserVO object instance itself? That way I would have this 'thing' item as a member of the UserVO? Thank you for the time. Niv -- View this message in context: http://shiro-user.582556.n2.nabble.com/How-to-associate-objects-with-subject-s-session-tp5345015p5345015.html Sent from the Shiro User mailing list archive at Nabble.com.
