Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-783

org.jboss.errai.security.server.ServerSecurityRoleInterceptor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Final, 3.0.1.Final, 3.0.2.Final
    • Fix Version/s: 3.1.0.CR1, 3.0.3.Final
    • Component/s: Errai Security
    • Labels:
      None
    • Environment:

      Weblogic 12c

    • Security Sensitive Issue:
      This issue is security relevant
    • Steps to Reproduce:
      Hide

      Attempt to run Errai security on a WebLogic instance

      Show
      Attempt to run Errai security on a WebLogic instance
    • Affects:
      Compatibility/Configuration
    • Workaround Description:
      Hide

      In order to address this the following constructor can be added to the class:

      public ServerSecurityRoleInterceptor()

      { throw new MethodNotAllowedException("The no argument constructor on ServerSecurityRoleInterceptor is to ensure JEE6 complience only and should never be called."); }
      Show
      In order to address this the following constructor can be added to the class: public ServerSecurityRoleInterceptor() { throw new MethodNotAllowedException("The no argument constructor on ServerSecurityRoleInterceptor is to ensure JEE6 complience only and should never be called."); }
    • Estimated Difficulty:
      Low

      Description

      The Class ServerSecurityRoleInterceptor does not comply with the requirement for an Inteceptor class "An interceptor class must have a public constructor with no parameters." from http://docs.oracle.com/javaee/6/api/javax/interceptor/package-summary.html

      as a result this fails a validity check on WebLogic application server

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mbarkley Max Barkley
                Reporter:
                nickalexander Nick Alexander
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: