You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2020/01/23 13:56:00 UTC
[jira] [Resolved] (SOLR-14196) AdminUI login not working for
JWTAuth when blockUnknown=false
[ https://issues.apache.org/jira/browse/SOLR-14196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl resolved SOLR-14196.
--------------------------------
Resolution: Fixed
> AdminUI login not working for JWTAuth when blockUnknown=false
> -------------------------------------------------------------
>
> Key: SOLR-14196
> URL: https://issues.apache.org/jira/browse/SOLR-14196
> Project: Solr
> Issue Type: Bug
> Components: Admin UI
> Affects Versions: 8.1, 8.2, 8.3, 8.4, 8.4.1
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Major
> Fix For: 8.5
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When {{blockUnknown=false}} it is not the AuthenticationPlugin that sends the HTTP response header {{WWW-Authenticate}}, but it is done by {{HttpSolrCall}} based on a 401 response from AuthorizationPlugin.
> Admin UI uses info from {{WWW-Authenticate}} header to choose what login screen to display, and for JWT it also requires an {{X-Solr-Authinfo}} header generated by the JWT plugin.
> h3. Solution
> The BasicAuth plugin solves this by storing the map of headers to set as an attribute on ServletReuest with key {{AuthenticationPlugin}}, if we fall through to Authorization plugin. We can do that as well with JWT plugin.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org