• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Piet Souris

Automatic windows authentication for tomcat 7

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a requirement of implementing LDAP based automatic windows authentication for a application deployed in tomcat 7. The requirement is, when I try to access the application page it should take the windows login credentials for authentication process and should not prompt user to enter the credentials. I had came across JNDI realms and various authentication types like BASIC, form based ,digest,etc. From my study I think all are prompting user to enter the credentials.

Is there any other way to achieve my requirement? All the client systems are in Intranet domain and user details stored in LDAP server.
Saloon Keeper
Posts: 21708
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, there is a Realm that hooks directly into the existing Windows authentication. I don't remember its name or where you can get a copy of it, but it is available. Ask Google.

I should caution you that unlike other Realm modules, you cannot just plug it in and go, however. For one rare time in its existence, Microsoft actually set security control "on" by default; each IE client that uses this Realm has to have a switch flipped to enable it to participate.
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!