views:

5

answers:

0

Hi there,

I'm attempting to build a JavaFX for browser use that will handle an authentication prompt against a LDAP Server. When launching JavaFX as a desktop application, I am able to authenticate against the LDAP server using JNDI.

However, when I launch JavaFX on the browser, I will get the following error:

javax.naming.CommunicationException: HOSTSERVER.DOMAINNAME.com:1389 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission HOSTSERVER.DOMAINNAME.com resolve)]

I am not too sure what causes this error. Could anyone advice me on how to solve this?? Thanks in advance

Kevin