Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-190

AuthConfigFactory.getFactory() checking wrong permission.

XMLWordPrintable

      The method currently performs the following check: -

            //Validate the caller permission
            SecurityManager sm = System.getSecurityManager();
            if (sm != null)
               sm.checkPermission(new SecurityPermission("getFactory"));
      

      However it is supposed to be using 'getFactorySecurityPermission'.

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: