• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

SSO + JAAS

 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have two applications on my local server (Tomcat). I wanted to implement SSO between these applications. I have created a separate login module (by using JAAS api) for both these applications. I am able to authenticate users to each of these applications individually.

But I do not know how to bring SSO between these two application. I am invoking one application from the other application.

I read on http://www.devx.com/Java/Article/7865/0/page/2 regarding SSO using JAAS. If I write the login module of both the application in the same JAAS configuration file then where the login module code for the applications should present. Currently login module code is at the application level.

sample code for the JAAS config file is given below


In the above code
SimpleLoginModuleapp1 is the login module for the first application and SimpleLoginModuleapp2 is the login module for the second application.

I hope I have put my question correctly.

Thanks
 
Brij Garg
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
some kind of input will be really appreciated.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!