Application Server 3  4  5 and 6
  1. Application Server 3 4 5 and 6
  2. JBAS-7067

Give some context to failed creation of WebResourcePermission

    Details

    • Type: Task Task
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.M1
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      The following exception:

      Caused by: java.lang.IllegalArgumentException: illegal HTTP method
      at javax.security.jacc.HttpMethodSpec.makeMethodSet(HttpMethodSpec.java:100)
      at javax.security.jacc.HttpMethodSpec.getMethodSet(HttpMethodSpec.java:74)
      at javax.security.jacc.WebResourcePermission.<init>(WebResourcePermission.java:137)
      at org.jboss.web.WebPermissionMapping.createPermissions(WebPermissionMapping.java:220)

      ...could give the developer a better indication of what went wrong. Wrap and provide this context.

        Activity

        Hide
        Andrew Rubinger
        added a comment -

        Now wrapped in:

        Caused by: java.lang.IllegalArgumentException: Could not create resource permission with pattern "/restricted/*" and methods: !GET,POST
        at org.jboss.web.WebPermissionMapping.createPermissions(WebPermissionMapping.java:229)

        Show
        Andrew Rubinger
        added a comment - Now wrapped in: Caused by: java.lang.IllegalArgumentException: Could not create resource permission with pattern "/restricted/*" and methods: !GET,POST at org.jboss.web.WebPermissionMapping.createPermissions(WebPermissionMapping.java:229)

          People

          • Assignee:
            Andrew Rubinger
            Reporter:
            Andrew Rubinger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: