Authenticating to sAMAccountName attribute with JSP
Posted on 2003-12-05
Currently I am rolling out an application on WebSphere Application Server 5.0 FP2 running on Clustered Windows 2000 Advanced Server. Our domain users are set up in an Active Directory evironment. The application im setting up currently authenticates to the CN attribute. the problem is the AD installation stores the username (ie. jdoe) in an attribute called sAMAccountName and the Full Name in CN (ie. John Doe).
Keeping in mind that Im a begginer with JSP (but noit object oriented programming), I need to authenticate to a sAMaccount and pass the CN attribute back to the app so that my users can log in using thier Network Login. Once thing to keep in mind is the servlets arent exposed so everything I do must be custom and outside the app. I was hoping to get some assistance, maybe some code snipettes or examples as to how I would go about doing this.
Thanks in advance.