[jboss-jira] [JBoss JIRA] (JBEE-117) WebResourcePermission for negative permissions is doing incorrect implies (again)
Shelly McGowan (JIRA)
jira-events at lists.jboss.org
Thu Feb 21 12:24:56 EST 2013
[ https://issues.jboss.org/browse/JBEE-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shelly McGowan resolved JBEE-117.
---------------------------------
Resolution: Done
This was resolved in 1.0.2.Final release of JACC APIs which was also included in the JBoss Java EE API Specs 3.0.2.Final release.
> WebResourcePermission for negative permissions is doing incorrect implies (again)
> ---------------------------------------------------------------------------------
>
> Key: JBEE-117
> URL: https://issues.jboss.org/browse/JBEE-117
> Project: JBoss JavaEE Spec APIs
> Issue Type: Bug
> Components: jboss-jacc-api
> Reporter: Paul Gier
> Assignee: Bartosz Baranowski
> Fix For: JavaEE 6 Spec APIs 3.0.2.Final
>
>
> {code:java}
> WebResourcePermission w1 = new WebResourcePermission("/", "!GET");
> WebResourcePermission w2 = new WebResourcePermission("/", "!GET,POST");
> System.err.println(">"+w1.implies(w2));
> System.err.println(">"+w2.implies(w1));
> {code}
> Produces:
> {noformat}
> false
> true
> {noformat}
> It should be reversed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list