I have put this as my http endpoint:
<http:endpoint service="test:servicehttp"
                 endpoint="consumerhttp"
                 role="consumer" 
                 locationURI="http://localhost:8889";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true"
                                 targetService="test:MyS1PojoService"
                                 targetEndpoint="myS1PojoSu" 
                authMethod="BASIC">                             
</http:endpoint>  

put this in your SMX-HOME/conf/login.properties:

servicemix-domain {
        sample.module.LdapLoginModule REQUIRED
             userProvider="ldap://ip:port/ou=Users,dc=site";
             userFilter="(&(uid={USERNAME})(objectClass=inetOrgPerson))"
             useSSL=false
             debug=true;
);

You can create your own Login module as I have created. This is same as the
provided by java6. in com/sun/security/auth/module/LdapLoginModule.java
-- 
View this message in context: 
http://www.nabble.com/ServiceMix-LDAP-Support-tp16701684p17267974.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to