-
Bug
-
Resolution: Done
-
Major
-
JavaEE 6 Spec APIs 3.0.2.Final
-
None
As reported by Josef Cacek: JACC 1.1 permissions WebResourcePermission and WebUserDataPermission with an HTTP method exception list as actions should provide the correct list instead of null when calling getActions() method on them. Look at section "3.1.3.4 - Example" of the JACC 1.1 specification.
There is also a second problem related - WebUserDataPermission.parseActions(String) method should remove the exclamation mark from the actions local variable before calling
Object[] methodInfo = WebResourcePermission.canonicalMethods(actions);