private static Dispatcher dispatcher;
@BeforeClass
public static void beforeClass() throws Exception
{
dispatcher = EmbeddedContainer.start("/", new SecurityDomain(){
public Principal authenticate(String username, String password)
throws SecurityException {
return new SimplePrincipal(username);
}