Class SolrBasicAuthentication
- java.lang.Object
-
- org.apache.solr.client.solrj.util.SolrBasicAuthentication
-
- All Implemented Interfaces:
org.eclipse.jetty.client.api.Authentication
public class SolrBasicAuthentication extends Object implements org.eclipse.jetty.client.api.Authentication
BasicAuthentication that does not care about uri and realm
-
-
Constructor Summary
Constructors Constructor Description SolrBasicAuthentication(String user, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jetty.client.api.Authentication.Result
authenticate(org.eclipse.jetty.client.api.Request request, org.eclipse.jetty.client.api.ContentResponse response, org.eclipse.jetty.client.api.Authentication.HeaderInfo headerInfo, org.eclipse.jetty.util.Attributes context)
boolean
matches(String type, URI uri, String realm)
-
-
-
Method Detail
-
matches
public boolean matches(String type, URI uri, String realm)
- Specified by:
matches
in interfaceorg.eclipse.jetty.client.api.Authentication
-
authenticate
public org.eclipse.jetty.client.api.Authentication.Result authenticate(org.eclipse.jetty.client.api.Request request, org.eclipse.jetty.client.api.ContentResponse response, org.eclipse.jetty.client.api.Authentication.HeaderInfo headerInfo, org.eclipse.jetty.util.Attributes context)
- Specified by:
authenticate
in interfaceorg.eclipse.jetty.client.api.Authentication
-
-