Uploaded image for project: '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
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.M1
    • Component/s: None
    • Labels:
      None

      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.

        Gliffy Diagrams

          Activity

          Hide
          alrubinger 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
          alrubinger 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:
              alrubinger Andrew Rubinger
              Reporter:
              alrubinger Andrew Rubinger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development