PDA

View Full Version : Authentication in Java Applet


AzeemAkram
Jun 13, 2012, 04:51 AM
I want to make a Java applet, which will on load authenticate a URL and show the next graphic which we have mentioned.

I am doing the authentication in using "Authenticator.setDefault(new MyAuthenticator())"

It works fine alone but when I use it in Java applet it gives me an exception give below :

Exception : java.security.AccessControlException: access denied (java.net.NetPermission setDefaultAuthenticator)


Please Help me.