Package com.lucidworks.cloud.api.solr
Class SolrAuthorizationComponent
java.lang.Object
com.lucidworks.cloud.api.solr.SolrAuthorizationComponent
Solr users can do federated search using "collection" or "shards" query params,
thus bypassing our security enforcements.
This helper class does additional authorization checks to forbid that.
see APOLLO-3566
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckSolrCollectionAndShardsParams(String searchClusterId, String collectionParam, String shardsParam, com.lucidworks.apollo.security.AuthorizationContext authorizationContext) splitParamValue(String value)
-
Field Details
-
COLLECTIONS_PARAM
- See Also:
-
SHARDS_PARAM
- See Also:
-
-
Constructor Details
-
SolrAuthorizationComponent
-
-
Method Details