Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Using Active Directory (AD) with Tomcat

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've asked about this before, but I haven't gotten any responses and the higher-ups are really starting to breathe down my neck on it. I need to use Tomcat and Active Directory (AD) logon credentials to restrict access to certain pages of my web site.

For example, I have a page that lists jobs that various businesses ask our college to post. I want to keep them in a database and write a JSP that generates an up-to-date list based on the database. I also want to write a back end for our Job Services Coordinator to enter jobs into the database using a web-based user interface. For obvious reasons, I need her to be the only one who can access that interface. Our college already has AD logons for all employees, so I'd like to leverage that to avoid her having to remember yet another user name and password. I feel certain that this can be done, but I have no idea how. Please point me in the direction of something helpful!
 
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My good buddy mr. google gave me this link: (after searching on Active Directory Java) how to authenticate users against Microsoft Active Directory Server using Java using the LDAP API
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JaasLounge for getting that job done :
http://www.jaaslounge.org
 
Craig Dixon
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any documentation on using this package for AD logon? I don't know enough about LDAP to use the package from just the source code.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!