Configuring Log4jLogger requires SecurityPermission setContextClassLoader
-------------------------------------------------------------------------

                 Key: CXF-3361
                 URL: https://issues.apache.org/jira/browse/CXF-3361
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.12
            Reporter: Martin Centner


When configuring Log4jLogger as in 
http://cxf.apache.org/docs/debugging-and-logging.html (using any of the options 
described), a SecurityPermission of {{setContextClassLoader}} is required in 
order to allow org.apache.cxf.common.logging.Log4jLogger to be loaded 
successfully. This is a consequence of using {{BugHacks.doHacks();}} in the 
Log4jLogger's static block. 

The required security permission {{setContextClassLoader}} to load a class 
seams inadequate.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to