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

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

      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 ;
      }
      

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

                Created:
                Updated:
                Resolved: