Hi Sanjay, I have seen lot of post about this requirement, sometimes ago i also faced the same issue. AFAIK still there is no proper solution for this.
cant you use following approach for your requirement..? 1. In callback handler save user profile into a database table after successful authentication . ( or persist using any other approach.) 2. In the service method retrieve above user profile from database to access required details. ( I know this is little ugly :) .... but possible solution) Thanks , On Wed, May 20, 2009 at 9:50 PM, Sanjay Gupta <sanjay.gu...@billwiseinc.com> wrote: > Hi Guys, > > Are there any solution to my problem. This seems like a failry common > requirement. I would really appreciate any help or suggestion. > > Thanks > > Sanjay > > > > From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] > Sent: Friday, May 08, 2009 7:50 AM > To: axis-user@ws.apache.org > Subject: RE: Access to message context in Password Callback Handler > > > > Hi, > > Can anybody give me some pointers on this issue. > > Sanjay > > > > From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] > Sent: Tuesday, April 21, 2009 8:55 AM > To: axis-user@ws.apache.org > Subject: Access to message context in Password Callback Handler > > > > Hi, > > I have seen lots on discussion on having access to message context in > password callback handler in axis2 but no clear solution. I need to store > some user profile information after successful authentication in callback > handler so that I can access them in my services(POJO). One option would > have been to store them in message context and access them in my service but > message context is not available calback hander. I would really appreciate > any suggesions. > > Thanks > > Sanjay -- Sagara Gunathunga Blog - http://ssagara.blogspot.com Web - http://sagaras.awardspace.com/