You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stefan Kuhn <ku...@synyx.de> on 2009/06/17 15:49:26 UTC
Web Container Authentication Via LDAP for a JSPWiki
Hi,
i have configured a "Web Container Authentication Via LDAP" with the
instructions from this page:
http://www.jspwiki.org/wiki/WebContainerAuthenticationViaLDAP
I can now login to the wiki, but have problems with the rights, it isn't
even possible to read pages.
The web.xml seems to be definied correctly with:
<security-constraint>
<web-resource-collection>
<web-resource-name>Authenticated area</web-resource-name>
<url-pattern>/Edit.jsp</url-pattern>
<url-pattern>/Comment.jsp</url-pattern>
<url-pattern>/Login.jsp</url-pattern>
<url-pattern>/NewGroup.jsp</url-pattern>
<url-pattern>/Rename.jsp</url-pattern>
<url-pattern>/Upload.jsp</url-pattern>
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>HEAD</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<web-resource-collection>
<web-resource-name>Read-only Area</web-resource-name>
<url-pattern>/attach</url-pattern>
<http-method>DELETE</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>wikiuser</role-name>
<role-name>wikiadmin</role-name>
</auth-constraint>
<!-- user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint -->
</security-constraint>
and
<security-role>
<description>
This logical role includes all wikiusers
</description>
<role-name>wikiuser</role-name>
</security-role>
<security-role>
<description>
This logical role includes all wikiadmins
</description>
<role-name>wikiadmin</role-name>
</security-role>
Has anybody ever done what i want to do?
Best regards,
Stefan
--
/**
* Stefan Kuhn
* Software Developer
* Synyx GmbH & Co. KG --OpenCms Solution Provider--J2ME Solutions--
* Karlstr. 68
* 76137 Karlsruhe
*
* phone +49(0)721 66 24 866
* fax +49(0)721 66 48 877
* eMail kuhn@synyx.de
* www http://www.synyx.de
* irc irc.synyx.de
*
* Sitz der Gesellschaft: Karlsruhe
* Registergericht: Mannheim
* Handelsregisternummer: HRA 4793
* USt-IdNr.: DE249264296
*
* Komplementärin: Elatech Verwaltungs GmbH
* Sitz der Gesellschaft: Karlsruhe
* Geschäftsführer: Markus Daniel
* Registergericht: Mannheim
* Handelsregisternummer: HRB 7250
*/
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org