@Before public void setup() throws Exception { httpDigest = new HTTPDigestAuthentication(); httpDigest.setAuthManager(new PropertiesFileBasedAuthenticationManager()); httpDigest.setRealmName("*****@*****.**"); httpDigest.setOpaque("5ccc069c403ebaf9f0171e9517f40e41"); }