HttpAuthenticationFeature instead.public final class HttpBasicAuthFilter extends Object implements javax.ws.rs.client.ClientRequestFilter
| Constructor and Description |
|---|
HttpBasicAuthFilter(String username,
byte[] password)
Deprecated.
Creates a new HTTP Basic Authentication filter using provided username
and password credentials.
|
HttpBasicAuthFilter(String username,
String password)
Deprecated.
Creates a new HTTP Basic Authentication filter using provided username
and password credentials.
|
public HttpBasicAuthFilter(String username, String password)
username - user namepassword - passwordpublic HttpBasicAuthFilter(String username, byte[] password)
username - user namepassword - passwordpublic void filter(javax.ws.rs.client.ClientRequestContext rc)
throws IOException
filter in interface javax.ws.rs.client.ClientRequestFilterIOExceptionCopyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.