File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

realm jndi active directory help

 
Jon Hodgkinson
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

Im developing a jsp script for our intranet, where users are logged into their PC's by active directory. What I want the jsp todo is to silently log the user in to the intranet according to their active directory login.

Im not sure if Im going about this the right way, but Im trying to implement this: http://tomcat.apache.org/tomcat-5.0-doc/realm-howto.html#JNDIRealm but Im not having much success. Does any body have any ideas?

Many thanks!
 
Clifford Adams
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have had success using the jcifs project at http://jcifs.samba.org/
 
Jon Hodgkinson
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've successfully connected to realm and returned the user groups, now im trying to return some extra details about the user such as their email address.

I can return the roles of the user by setting
userRoleName="memberOf"

and I can get the email address by setting
userRoleName="mail"

But I dont seem to be able to return both. Im totally lost on this so any help is much appreciated. All I need is a pointer in the right direction.

Many Thanks in advance
 
Jon Hodgkinson
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone got any ideas about this?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic