tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bo Jensen <...@elektronik.dk>
Subject Re: JNDI and Active Directory.....
Date Sun, 29 Jun 2003 08:42:21 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
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