userRealm.put( authenticationInfo.getUserName(), authenticationInfo.getPassword() );
context.getHttpServer().addRealm( userRealm );
context.setAuthenticator( new BasicAuthenticator() );
context.addSecurityConstraint( "/*", new SecurityConstraint( "any", SecurityConstraint.ANY_ROLE ) );
context.addHandler( new SecurityHandler() );
}
Iterator itpaths = wdc.getServlets().iterator();
while ( itpaths.hasNext() )
{