member: uid=jduke,ou=People,dc=jboss,dc=org
*/
public void testLdapExample2() throws Exception
{
System.out.println("testLdapExample2");
UsernamePasswordHandler handler = new UsernamePasswordHandler("jduke", "theduke".toCharArray());
LoginContext lc = new LoginContext("testLdapExample2", handler);
lc.login();
Subject subject = lc.getSubject();
System.out.println("Subject: "+subject);