geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rex Wang (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMO-5578) incorrect behaviour of security-constraint configuration in web.xml
Date Tue, 02 Nov 2010 03:07:25 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rex Wang closed GERONIMO-5578.
------------------------------


closing it

> incorrect behaviour of security-constraint configuration in web.xml 
> --------------------------------------------------------------------
>
>                 Key: GERONIMO-5578
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5578
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 3.0
>            Reporter: Han Hong Fang
>            Assignee: Ivan
>             Fix For: 2.1.7, 2.2.1, 3.0
>
>         Attachments: GERONIMO-5578.patch, web7.xml
>
>
> When have following configuration in web.xml, GET and POST can be accessed by both "RoleA"
and "RoleB".
> <security-constraint>
>         <web-resource-collection>
>             <web-resource-name>resource2</web-resource-name>
>             <url-pattern>/SampleServlet2</url-pattern>
>             <http-method>GET</http-method>
>         </web-resource-collection>
>         <auth-constraint>
>             <role-name>RoleA</role-name>
>         </auth-constraint>
>     </security-constraint>
>     
>     <security-constraint>
>         <web-resource-collection>
>             <web-resource-name>resource3</web-resource-name>
>             <url-pattern>/SampleServlet2</url-pattern>
>             <http-method>POST</http-method>
>         </web-resource-collection>
>         <auth-constraint>
>             <role-name>RoleB</role-name>
>         </auth-constraint>
>     </security-constraint>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message