I am not an expert but can it be, because you haven't specified any contextFactory? What kind of ldap are you using?s What means userSearch="(userPrincipalName={0})" ?
Torsdag 26 juni 2003 22:12 skrev Pitre, Russell: > > > Server.xml: > > > > > > <Realm className="org.apache.catalina.realm.JNDIRealm" > > connectionURL="ldap://server:389" > > userBase="CN=Users,dc=[domain],dc=com" > > userSearch="(userPrincipalName={0})" > > userRoleName="member" > > roleBase="CN=Users,dc=[domain],dc=com" > > roleName="cn" > > roleSearch="(member={0})" > > > connectionName="CN=tomcatuser,CN=Users,DC=[domain],DC=com" > > connectionPassword="sinner" > > roleSubtree="true" > > userSubtree="true"/> > > > > Web.xml > > > > <security-constraint> > > <display-name>Show Tracker Security > Constraint</display-name> > > <web-resource-collection> > > > <web-resource-name>Protected Area</web-resource-name> > > > <url-pattern>/*</url-pattern> > > </web-resource-collection> > > <auth-constraint> > > > <role-name>tomcat</role-name> > > </auth-constraint> > > </security-constraint> > > > > <login-config> > > <auth-method>FORM</auth-method> > > <realm-name>Show Tracker > Authentication Area</realm-name> > > <form-login-config> > > > <form-login-page>/login.jsp</form-login-page> > > > <form-error-page>/error.jsp</form-error-page> > > </form-login-config> > > </login-config> > > <security-role> > > <description>Registered > users</description> > > <role-name>tomcat</role-name> > > </security-role> > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]