150151152153154155156157158159160
{ filter = new HTTPBasicAuthFilter(userName, password); } else if ( type.equals("digest") ) { filter = new HTTPDigestAuthFilter(userName, password); } else { throw new IllegalStateException("Unknown remote client authorization type: " + type); }