Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2076

Add security manager's permission checking in com.arjuna.webservices11.ServiceRegistry#getRegistry

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 4.17.19, 5.0.2
    • None
    • XTS
    • None

    Description

      Permissions checking in public static methods is needed for Common Criteria certification.

      Add something similar to this at the beginning of the method:

      public static ServiceRegistry getRegistry()
      {
          SecurityManager sm = System.getSecurityManager();
          if (sm != null) {
              sm.checkPermission(new RuntimePermission(ServiceRegistry.class.getName() + ".getRegistry"));
          }
          return REGISTRY ;
      }
      

      Attachments

        Activity

          People

            gtrikler@redhat.com Gytis Trikleris (Inactive)
            gtrikler@redhat.com Gytis Trikleris (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: