solr express
Search…
Authentication and Authorization

Feature

Use authentication to connect with SOLR server

How to

    1.
    You need activate this feature in SOLR server, to do this, follow steps in SOLR wiki
    2.
    Change your SolrExpressOptions and set SecurityOptions
1
services
2
.AddSolrExpress<TechProduct>(builder => builder
3
.UseOptions(options =>
4
{
5
// ... Other settings
6
options.Security = new SecurityOptions
7
{
8
AuthenticationType = AuthenticationType.Basic,
9
Password = "<YOUR PASSWORD>",
10
UserName = "<YOUR USER NAME>"
11
}
12
})
13
// ... Other settings
14
);
Copied!
Last modified 2yr ago
Copy link