[
https://issues.apache.org/jira/browse/SOLR-15334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321103#comment-17321103
]
Mike Drob commented on SOLR-15334:
----------------------------------
Looking at this some more, I think the correct approach is to set response
errors and return false in the plugin.
> PKIAuthenticationPlugin should throw exceptions on failed authentication
> ------------------------------------------------------------------------
>
> Key: SOLR-15334
> URL: https://issues.apache.org/jira/browse/SOLR-15334
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Mike Drob
> Assignee: Mike Drob
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Right now in PKIAuthenticationPlugin, when we fail authentication for
> whatever reason, we will still delegate to the rest of the filter chain and
> then return true. According to the javadoc, however, we should be returning
> false or throwing an exception.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]