options.put( "roleNameAttribute", "cn" );
options.put( "forceBindingLogin", "true" );
options.put( "debug", "true" );
Subject subject = new Subject();
DefaultCallbackHandler callbackHandler = new DefaultCallbackHandler();
callbackHandler.setUserName("jesse");
callbackHandler.setCredential("foo");
lm.initialize( subject, callbackHandler, null, options );
assertTrue( lm.bindingLogin( "jesse", "foo" ) );
assertTrue( lm.login() );