You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/03/30 08:37:42 UTC

[jira] Commented: (CAMEL-1499) LDAP documentation could be improved

    [ https://issues.apache.org/activemq/browse/CAMEL-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50888#action_50888 ] 

Claus Ibsen commented on CAMEL-1499:
------------------------------------

Christopher, you can get karma to be able to edit the wiki pages directly.

See more here
http://camel.apache.org/contributing.html




> LDAP documentation could be improved
> ------------------------------------
>
>                 Key: CAMEL-1499
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1499
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ldap
>    Affects Versions: 1.6.0, 2.0-M1
>         Environment: Wiki pages
>            Reporter: Christopher Hunt
>
> On familiarising myself with the ldap component I found that I had to trawl through the source code to gain a good understanding of how it should be used.
> For example (http://camel.apache.org/ldap.html):
> "In the sample below we fetch the rows from the customer table.
> First we register our datasource in the Camel registry as testdb:"
> is entirely incorrect. Perhaps it should say:
> "In the sample below we create a JNDI DirContext and register it with our Camel context's JNDI registry. The key used for registration is the remaining part of the ldap URI i.e. the part without the ldap: and URI parameters. The DirContext should establish any authentication requirements with the LDAP repository."
> I then think that the example should illustrate how an anonymous DirContext can be established outside of any ApacheDS dependencies e.g.:
> {code}
> 		Hashtable<Object, Object> env = new Hashtable<Object, Object>();
> 		env.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
> 		env.put(Context.PROVIDER_URL, providerURL);
> 		env.put(Context.SECURITY_AUTHENTICATION, "none");
> 		DirContext ctx = new InitialDirContext(env);
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (CAMEL-1499) LDAP documentation could be improved

Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Mar 30, 2009 at 9:14 AM, huntc <hu...@mac.com> wrote:
>
> Please may I receive some karma then so that I can update the wiki pages.
> :working:
Karma granted

> --
> View this message in context: http://www.nabble.com/-jira--Created%3A-%28CAMEL-1499%29-LDAP-documentation-could-be-improved-tp22766622p22777494.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: [jira] Commented: (CAMEL-1499) LDAP documentation could be improved

Posted by huntc <hu...@mac.com>.
Please may I receive some karma then so that I can update the wiki pages.
:working:
-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28CAMEL-1499%29-LDAP-documentation-could-be-improved-tp22766622p22777494.html
Sent from the Camel Development mailing list archive at Nabble.com.