axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-3117) SecurityException thrown in util.LoggingControl, when run from an applet
Date Mon, 10 Mar 2008 14:39:46 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davanum Srinivas resolved AXIS2-3117.
-------------------------------------

    Resolution: Fixed

> SecurityException thrown in util.LoggingControl, when run from an applet
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-3117
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3117
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2
>            Reporter: Joachim Gaupp
>
> I'm using an applet as axis2 client. To be more specific it is an unsigned applet, so
System.getProperty(..) throws a SecurityException.
> Currently the implementation of LoggingControl doesn't care for this (admittedly rarely
used) situation.
> Possible fix:
> public class LoggingControl {
>     public static final boolean debugLoggingAllowed;
>     static{
>     	String prop=null;
>     	try{
>     		prop=System.getProperty("Axis2.prohibitDebugLogging");
>     	}catch(SecurityException lSE){
>     		//do nothing
>     	}
>     	debugLoggingAllowed= prop==null;
>     }
>            
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message