• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Combining JAAS and SOAP in a log on system

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've found myself stuck in a horrible mire with trying to set up a Web Service.

I've been asked to implement a Java calendaring system onto website which is largely backended in Perl. The easiest way into getting the passwords is also via Perl. I have set up a SOAP server which is passing across the username and password and Java client which receives it. I've been experimenting with JAAS which would appear to be the most flexible way of getting the desired result, i.e. our users can seemlessly move across the services on the site (effectively cookie controlled single sign on).

I've placed the client code inside of the WebCallbackHandler (though I perhaps ought to split it out and refer to it) but is there a better way of achieving what I want?

Have I gone hopelessly wrong in my quest to log our users on? I'd be grateful for some pointers as to how to get the best result for my users.

Thanks.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not quite sure what kind of authentication/authorization/security scheme you are trying to implement - however WS-Security was designed for SOAP (implemented by Rampart for Axis2). See Web Services Authentication with Axis 2.
 
Iain Emsley
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to extend our single sign on system across to Java but for reasons I haven't yet worked out, we cannot parse the cookie data via Java but need Perl to do it (which it already does for the rest of the site). Hence the need to speak to the SOAP server. What I want to do is to use the servlet/JSP to get the password so that JAAS or JDBC can get the data for authentication, hence why I'm trying to get it to activate our built client.
 
Lasagna is spaghetti flvored cake. Just like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic