24 lines
456 B
Java
24 lines
456 B
Java
package org.gcube.spatial.data.clients;
|
|
|
|
import org.gcube.spatial.data.clients.model.ConnectionDescriptor;
|
|
import org.glassfish.jersey.client.authentication.HttpAuthenticationFeature;
|
|
|
|
public class TestClient extends AbstractGenericRESTClient{
|
|
|
|
|
|
|
|
|
|
public TestClient(ConnectionDescriptor conn) {
|
|
super(conn);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setHttpBasicAuth(String user,String pwd) {
|
|
super.register(HttpAuthenticationFeature.universal(user, pwd));
|
|
}
|
|
}
|