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 SummaryConstructors Constructor Description SolrBasicAuthentication(String user, String password)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jetty.client.api.Authentication.Resultauthenticate(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)booleanmatches(String type, URI uri, String realm)
 
- 
- 
- 
Method Detail- 
matchespublic boolean matches(String type, URI uri, String realm) - Specified by:
- matchesin interface- org.eclipse.jetty.client.api.Authentication
 
 - 
authenticatepublic 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:
- authenticatein interface- org.eclipse.jetty.client.api.Authentication
 
 
- 
 
-