@Before
public void startWebServer()
throws Exception
{
server = new Server( Protocol.HTTP, 8888 );
ContextRestlet restlet = module.newObject( ContextRestlet.class, new org.restlet.Context() );
ChallengeAuthenticator guard = new ChallengeAuthenticator( null, ChallengeScheme.HTTP_BASIC, "testRealm" );
MapVerifier mapVerifier = new MapVerifier();
mapVerifier.getLocalSecrets().put( "rickard", "secret".toCharArray() );
guard.setVerifier( mapVerifier );