>
> how to set COMMIT_ACTIVE_KEY and COMMIT_KEY_ID or PARAM_KEY_ID in
> SolrQueryRequest req dynamically ?
> If Keys are set to req object before calling
> EncryptionRequestHandler.handleRequestBody(SolrQueryRequest req,
> SolrQueryResponse rsp), this module will work.


Indeed the EncryptionRequestHandler is expected to be called with the key
id, and it will call your custom KeySupplier to get the key descriptor
(called cookie, maybe I'll rename key descriptor) and store it
automatically in the index. This key descriptor will later be passed as
parameter when calling periodically your KeySupplier to get the key secret.

If you started another approach, I will probably need a small project to
understand and elaborate. Maybe you have or you can build quickly a git
repo to reproduce your issue? It would help me to understand your approach
and needs. Or, better, you can submit a PR on the encryption module in
solr-sandbox with a test that reproduces the problem.

Bruno

Reply via email to