Hi,

I try do integrate a LDAP-Server as external context into the JBoss 3.0.0 Server.

I create a new Service (ldap-service.xml) like this:

<?xml version="1.0" encoding="UTF-8"?>

<!-- ===================================================================== -->
<!--                                                                       -->
<!--  JBoss Server Configuration                                           -->
<!--                                                                       -->
<!-- ===================================================================== -->

<server>

  <classpath codebase="lib" archives="jboss.jar"/>
  

  <mbean code="org.jboss.naming.ExternalContext" 
name="DefaultDomain:service=ExternalContext,jndiName=external/ldap/test" >
    <attribute name="JndiName">external/ldap/test</attribute>
    <attribute 
name="PropertiesURL">file:///opt/jboss-3.0.0_tomcat-4.0.3/server/myserver/conf/ldap.properties</attribute>
    <attribute name="InitialContext">javax.naming.ldap.InitialLdapContext</attribute>
    <attribute name="RemoteAccess">true</attribute>
  </mbean>
  
</server>


The ldap.properties:
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
java.naming.security.principal=cn=admin, o=Test
java.naming.security.authentication=simple
java.naming.security.credentials=secret


The External Context is succesfull integreated and started.

But when I use the JNDIView - Tool, I found the following Message for MBean Attribut 
'Properties' of Service 'external/ldap/test':

Type Not Supported: 
[{java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory,
java.naming.security.authentication=simple,
java.naming.security.principal=cn=admin,o=Test,
java.naming.security.credentials=secret}]

many thanks,

Holger


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to