* Creates basic and digest handlers with the given NonceProvider
*
* @param nonceProvider
*/
public AuthenticationService( NonceProvider nonceProvider ) {
AuthenticationHandler digest = new DigestAuthenticationHandler( nonceProvider );
AuthenticationHandler basic = new BasicAuthHandler();
authenticationHandlers = new ArrayList<AuthenticationHandler>();
authenticationHandlers.add( basic );
authenticationHandlers.add( digest );