[
https://issues.apache.org/jira/browse/AXIS2-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475800
]
lo ti commented on AXIS2-2256:
------------------------------
Hi Ruchith,
Thanks a lot for your advice. I am using a "request" scope for my service.
I try to storing the user name in the service context when at the inflow custom
handler and then retrieving it in the outflow custom handler but it does NOT
work.
If I store the user name in the server context in the "INIT()" method of a
service, then I can retrieve it in the outflow custom handler. This works fine
with this.
I really appreciate if you can provide a snippet of sample code of how to
make it works based on your advice.
I have another question is why when using a "request" scope for a service,
the "DESTROY()" method does not fire?
Thanks so much!!
Loti
"Ruchith Udayanga Fernando (JIRA)" <[EMAIL PROTECTED]> wrote:
[
https://issues.apache.org/jira/browse/AXIS2-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475581
]
Ruchith Udayanga Fernando commented on AXIS2-2256:
--------------------------------------------------
How about storing the user name in the service context when at the inflow
custom handler and then retrieving it in the outflow custom handler?
Thanks,
Ruchith
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
> In OutFlow custom handler, is there a way to get a Principal info from InFlow
> in comming message?
> -------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2256
> URL: https://issues.apache.org/jira/browse/AXIS2-2256
> Project: Axis 2.0 (Axis2)
> Issue Type: Wish
> Affects Versions: 1.1.1
> Environment: Windows xp, tomcat 5.5
> Reporter: lo ti
> Priority: Blocker
>
> I want to track and limit the user usage for per service and operation. In
> InFlow custom handler, I can get the user name (Rampart security) but in
> OutFlow custom handler I can not get this user name. Is there a way to get
> this information in OutFlow custom handler?
> Thanks in advance!!
> Loti
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]