[
https://issues.apache.org/jira/browse/JSPWIKI-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636667#action_12636667
]
Harry Metske commented on JSPWIKI-389:
--------------------------------------
Just for the record, I had to hide some classes in the deployment plan to
workaround a NoClassDefFoundError for org/jdom/Parent:
<sys:environment>
<sys:moduleId>
<sys:groupId>default</sys:groupId>
<sys:artifactId>JSPWiki</sys:artifactId>
<sys:type>war</sys:type>
</sys:moduleId>
<sys:hidden-classes>
<sys:filter>org.jaxen</sys:filter>
<sys:filter>org.jdom</sys:filter>
</sys:hidden-classes>
</sys:environment>
> Container managed login fails with Geronimo
> --------------------------------------------
>
> Key: JSPWIKI-389
> URL: https://issues.apache.org/jira/browse/JSPWIKI-389
> Project: JSPWiki
> Issue Type: Bug
> Components: Authentication&Authorization
> Reporter: Jürgen Weber
> Fix For: 3.0
>
> Attachments: JSPWIKI-389.patch
>
>
> I tried JSPWiki v2.8.0-beta-10 on Geronimo 2.1.3 (Sun 1.6.0_07 on Ubuntu
> 8.0.4)
> JSPWiki comes up fine, but when I try to log in, the
> http://linda:8080/JSPWiki/Login.jsp?redirect=Main
> is forbidden.
> jspwiki.policy unchanged, web.xml uncommented container managed security,
> geronimo-web.xml as below.
> Apache JSPWiki should work on Apache Geronimo.
> ------------
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0"
> xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
> xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
> <security-realm-name>jspwiki-properties-realm</security-realm-name>
>
> <sec:security>
> <sec:role-mappings>
> <sec:role role-name="Authenticated">
> <sec:principal
> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
> name="Authenticated" designated-run-as="true"/>
> </sec:role>
> <sec:role role-name="admin">
> <sec:principal
> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
> name="admin" designated-run-as="true"/>
> </sec:role>
>
> </sec:role-mappings>
> </sec:security>
> </web-app>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.