On 8/3/06, Chamikara Jayalath <[EMAIL PROTECTED]> wrote:
Hi Lennard,
Please see my comments below,
On 8/3/06, L YSSELSTEIN <[EMAIL PROTECTED]> wrote:
> Hi Chamikara,
>
Basically, what we are trying to do is this. When the first invocation
passes the security handler, the handler checks the user credentials.
If the username/password is valid, the userprofile is retrieved from Ldap
and stored in a context for future reference.
From the security handler we cannot store it in the message context. The
callback interface does not give a handle to the message context.
This leaves us with the following questions.
How can we store the userprofile in the current messagecontext?
I guess ruchith will answer this.
Its true that you don't have access to the message context in the
callback handler. But the security processing results are stored in
the message context and you can retrieve them as shown here:
http://www.wso2.net/kb/169
Therefore you will be able to get the user context from the LDAP store
later in a handler.
Thanks,
Ruchith
--
www.ruchith.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]