<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; DirContext</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/dircontext/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>An example of simple ldap authentication</title>
		<link>http://helpdesk.objects.com.au/java/an-example-of-simple-ldap-authentication?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=an-example-of-simple-ldap-authentication</link>
		<comments>http://helpdesk.objects.com.au/java/an-example-of-simple-ldap-authentication#comments</comments>
		<pubDate>Fri, 06 Mar 2009 00:22:13 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[application server]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[DirContext]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=826</guid>
		<description><![CDATA[import java.util.Hashtable; import javax.naming.AuthenticationException; import javax.naming.Context; import javax.naming.NamingException; import javax.naming.directory.DirContext; import javax.naming.directory.InitialDirContext; public class SimpleLdapAuthentication { public static void main(String[] args) { String username = &#34;user&#34;; String password = &#34;password&#34;; String base = &#34;ou=People,dc=objects,dc=com,dc=au&#34;; String dn = &#34;uid=&#34; + username + &#34;,&#34; + base; String ldapURL = &#34;ldap://ldap.example.com:389&#34;; // Setup environment for authenticating Hashtable&#60;String, String&#62; [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/an-example-of-simple-ldap-authentication/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

