Re: WebService Authentication

Trond Kandal <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Mike Schrag wrote:
> WOSessions do actually work with WOWebServices (we use them in our app) 
> ... I talk about in the Wikibook entry on being a Web Service Provider 
> at the bottom.
> 
> http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Services/Web_Service_Provider
> 
> However, due to bugs in Axis, your clients will need to use a modified 
> Axis.  I have not reverified this with Axis2, though, so maybe things 
> don't suck for Cookies in Axis2.  If you are not in control of your web 
> service clients, though, you'll probably have to go the route of 
> actually passing around a session ID manually.  Even with this route, I 
> suspect you can make WOSession work properly by restoring the session 
> yourself based on that session ID.
> 
> ms
> 
> On May 8, 2006, at 11:35 AM, Kristof Cossement wrote:
> 
>> *I am looking for a way to authenticate webservices in webobjects.*
>> *The webservices that come with webobjects do not provide information 
>> about the invoking user.*
>> *
>> *
>> *Invoking a webservice in webobjects does not instantiate a Session 
>> object, so I cannot work with a session/authentication mechanism.*
>> *Does anyone have an idea how to set up an authentication mechanism ?*
>> *
>> *
>> *Does someone have experience with using **WSS4J in WebObjects?*
>>
>>

you could also take a look at the interface:
com.webobjects.webservices.support.WOSecurityDelegate

trond.
-- 
Trond Kandal       Organisasjonsavd. voice: +47 73597497
Integrasjonsgruppa NTNU              mobile:+47 91897110
IT-seksjonen       7491 Trondheim    fax:   +47 73598200
http://www.itea.ntnu.no/integrasjon

This is Unix land.
In quiet nights you can hear M$-Windoze machines reboot.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.