Hey, sorry if this is a bit off topic, but I'm using httpclient to POST data to an https connection. I get an access denied exception, one I have already posted to this group. But my question is now, as I look at the stack trace, what part of it do I use to determine what to put in the "codeBase" part of my policy:
grant codeBase "file:/what_file_to_put?" { permission java.security.SecurityPermission "getProperty.ssl.SocketFactory.provider" }; The stack trace is: java.security.AccessControlException: access denied (java.security.SecurityPermission getProperty.ssl.SocketFactory.provider) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272) at java.security.AccessController.checkPermission(AccessController.java:399) at java.lang.SecurityManager.checkPermission(SecurityManager.java:545) at java.security.Security.getProperty(Security.java:879) at javax.net.ssl.SSLSocketFactory$1.run(DashoA6275) at java.security.AccessController.doPrivileged(Native Method) at javax.net.ssl.SSLSocketFactory.a(DashoA6275) at javax.net.ssl.SSLSocketFactory.getDefault(DashoA6275) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:112) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:663) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:661) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529) at jsp_servlet._ma._thinkwell._student.__tw_student_redirect._jspService(__tw_student_redirect.java:238) at lycea.ui.LyceaJspServlet.service(Unknown Source) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:945) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:909) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:392) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:274) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:130) Thanks for your help - Dave Care2 make the world greener! Protect your right to breathe clean, smoke-free air: http://www.care2.com/go/z/11238/1043 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]