public class LocalSolrQueryRequest extends SolrQueryRequestBase
| Modifier and Type | Field and Description |
|---|---|
static Map |
emptyArgs |
String |
userPrincipalName |
context, core, json, origParams, params, schema, searcherHolder, startTime, streams| Constructor and Description |
|---|
LocalSolrQueryRequest(SolrCore core,
Map<String,String[]> args) |
LocalSolrQueryRequest(SolrCore core,
NamedList args) |
LocalSolrQueryRequest(SolrCore core,
SolrParams args) |
LocalSolrQueryRequest(SolrCore core,
String query,
String qtype,
int start,
int limit,
Map args) |
| Modifier and Type | Method and Description |
|---|---|
Principal |
getUserPrincipal() |
protected static SolrParams |
makeParams(String query,
String qtype,
int start,
int limit,
Map args) |
void |
setUserPrincipalName(String s)
Allows setting the 'name' of the User Principal for the purposes of creating local requests
in a solr node when security is enabled.
|
close, getCommands, getContentStreams, getContext, getCore, getJSON, getOriginalParams, getParams, getParamString, getRequestTimer, getSchema, getSearcher, getSpec, getStartTime, getValidators, setContentStreams, setJSON, setParams, toString, updateSchemaToLatestclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHttpMethod, getHttpSolrCall, getPath, getPathTemplateValuespublic static final Map emptyArgs
public String userPrincipalName
public LocalSolrQueryRequest(SolrCore core, String query, String qtype, int start, int limit, Map args)
public LocalSolrQueryRequest(SolrCore core, SolrParams args)
protected static SolrParams makeParams(String query, String qtype, int start, int limit, Map args)
public Principal getUserPrincipal()
getUserPrincipal in interface SolrQueryRequestgetUserPrincipal in class SolrQueryRequestBasepublic void setUserPrincipalName(String s)
PKIAuthenticationPlugin.NODE_IS_USER,
getUserPrincipal()Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.