[Java lista] AccessControlException
Schäfer Zoltán
mcduck at freemail.hu
2006. Okt. 25., Sze, 04:18:44 CEST
Oké sejtettem, hogy mi a gáz de akkor tudok-e v. hogy tudok appletből
mailt küldeni?
Kristof Jozsa írta:
> AFAIK nem signed applet nem nyithat socketet csak a sajat hostja fele (ahonnan
> letoltottek)
>
> dyn
>
> Schäfer Zoltán wrote:
>
>> Sziasztok!
>>
>> Egy kis segítségre lenne szükségem az alábbi Exception-nal kapcs. Egy
>> appletből szerettem volna mail-t küldeni...
>>
>> java.security.AccessControlException: access denied
>> (java.net.SocketPermission mail.emszinet.hu resolve)
>> at java.security.AccessControlContext.checkPermission(Unknown Source)
>> at java.security.AccessController.checkPermission(Unknown Source)
>> at java.lang.SecurityManager.checkPermission(Unknown Source)
>> at java.lang.SecurityManager.checkConnect(Unknown Source)
>> at java.net.InetAddress.getAllByName0(Unknown Source)
>> at java.net.InetAddress.getAllByName0(Unknown Source)
>> at java.net.InetAddress.getAllByName(Unknown Source)
>> at java.net.InetAddress.getByName(Unknown Source)
>> at javax.mail.URLName.getHostAddress(URLName.java:473)
>> at javax.mail.URLName.hashCode(URLName.java:449)
>> at java.util.Hashtable.get(Unknown Source)
>> at javax.mail.Session.getPasswordAuthentication(Session.java:811)
>> at javax.mail.Service.connect(Service.java:258)
>> at javax.mail.Service.connect(Service.java:156)
>> at javax.mail.Service.connect(Service.java:105)
>> at javax.mail.Transport.send0(Transport.java:168)
>> at javax.mail.Transport.send(Transport.java:98)
>> at wicky.SendMailUsingAuthentication.postMail(Wicky.java:343)
>> at wicky.SendMailUsingAuthentication.send(Wicky.java:308)
>> at wicky.Wicky.reg(Wicky.java:279)
>> at wicky.Wicky$1.actionPerformed(Wicky.java:106)
>> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
>> Source)
>> at java.awt.Component.processMouseEvent(Unknown Source)
>> at javax.swing.JComponent.processMouseEvent(Unknown Source)
>> at java.awt.Component.processEvent(Unknown Source)
>> at java.awt.Container.processEvent(Unknown Source)
>> at java.awt.Component.dispatchEventImpl(Unknown Source)
>> at java.awt.Container.dispatchEventImpl(Unknown Source)
>> at java.awt.Component.dispatchEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>> at java.awt.Container.dispatchEventImpl(Unknown Source)
>> at java.awt.Component.dispatchEvent(Unknown Source)
>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.run(Unknown Source)
>>
>> _______________________________________________
>> Javalist mailing list
>> Javalist at javagrund.hu
>> http://javagrund.hu/mailman/listinfo/javalist
>>
>
> _______________________________________________
> Javalist mailing list
> Javalist at javagrund.hu
> http://javagrund.hu/mailman/listinfo/javalist
>
>
> _____________ NOD32 1.1806 (20061017) Információ _____________
>
> Az üzenetet a NOD32 antivirus system megvizsgálta.
> http://www.nod32.hu
>
>
>
>
További információk a(z) Javalist levelezőlistáról