Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Java (https://www.askmehelpdesk.com/forumdisplay.php?f=440)
-   -   Authentication in Java Applet (https://www.askmehelpdesk.com/showthread.php?t=670309)

  • Jun 13, 2012, 04:51 AM
    AzeemAkram
    Authentication in Java Applet
    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.

  • All times are GMT -7. The time now is 11:27 AM.