tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pitre, Russell" <RPI...@shawmut.com>
Subject Help!
Date Tue, 01 Jul 2003 19:05:53 GMT
I'm running TC 4.1.24/ J2SDK 1.4 on Win2k Pro workstation........I've
created a simple webapp to test form-based authentication against Active
Directory.......I've had absolutely no luck.......Has anyone had any
luck with this?  Any information would be greatly appreciated.......code
snippets?

I had a little assistance with this website:
http://www.java-internals.com/code/jndi_realm.html

Where the snippet has "userRoleName="member"    I'm not sure if that's a
security group in Active Directory or what...
...and....roleName="cn"......whats this?......


THanx
Russ.....



	<Context path="/ldap" docBase="ldap" defaultSessionTimeout="3
isWARExpanded="true" isInvokerEnabled="true" debug="99"
			reloadable="true" >

		<Logger
className="org.apache.catalina.logger.FileLogger"
prefix="localhost_ldap_Log." suffix=".txt"
timestamp="true" />

		<Realm className="org.apache.catalina.realm.JNDIRealm"
debug="99"
			connectionURL="ldap://[DOMAIN CONTROLLER]:389"
	
userBase="OU=Users,OU=Shawmut,DC=[DOMAIN],DC=com"
			userSearch="(userPrincipalName={0})"
			userRoleName="member"
			roleBase="OU=Users,OU=Shawmut,DC=shawmut,DC=com"
			roleName="cn"
			roleSearch="(member={0})"
	
connectionName="CN=[user],OU=Users,OU=Shawmut,DC=[DOMAIN],DC=com"
			connectionPassword="[password]"
			roleSubtree="true"
			userSubtree="true"/>
	</Context>







---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message