You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Martin Brown <ma...@kpo.org.au> on 2006/12/29 04:52:59 UTC
Transport session examples
I'm really struggling trying to implement a transport session Axis2 service.
Maybe I'm trying to go about it the wrong way...
I need a service that will present a login operation which will authenticate the
user against a third party authentication system and store the resulting
credentials against the user's Axis2 session for future operation requests.
Storing these credentials in a parameter with an application scope seems very
clunky and possibly not very secure so a transport session scope sounds more
appropriate.
I really need a complete, simple example of such a service as a starting point
though. Just setting the services.xml scope to transportsession (and modifying
the axis2.xml) doesn't seem to be enough.
Any pointers would be appreciated.
Thanks,
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Transportsession scope example(s)
Posted by Martin Brown <ma...@kpo.org.au>.
I'd just like to prompt again for some (an) examples of using the
transportsession scope. I've configured a basic, dummy service with this scope
but it's behaving as an "application" scope (even after changing axis2.xml to
allow the transportsession scope).
Thanks,
Martin
Martin Brown wrote:
> I'm really struggling trying to implement a transport session Axis2
> service. Maybe I'm trying to go about it the wrong way...
>
> I need a service that will present a login operation which will
> authenticate the user against a third party authentication system and
> store the resulting credentials against the user's Axis2 session for
> future operation requests. Storing these credentials in a parameter with
> an application scope seems very clunky and possibly not very secure so a
> transport session scope sounds more appropriate.
>
> I really need a complete, simple example of such a service as a starting
> point though. Just setting the services.xml scope to transportsession
> (and modifying the axis2.xml) doesn't seem to be enough.
>
> Any pointers would be appreciated.
>
> Thanks,
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org