[ 
https://issues.apache.org/jira/browse/SOLR-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270472#comment-17270472
 ] 

ASF subversion and git services commented on SOLR-15073:
--------------------------------------------------------

Commit f31d1dc4a76a674fd482b2defa2595e844baf5d2 in lucene-solr's branch 
refs/heads/branch_8_8 from Christine Poerschke
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f31d1dc ]

SOLR-15073: Fix ClassCastException in SystemInfoHandler.getSecurityInfo.

Same fix as the #2210 PR commit earlier but this time not extending 
SystemInfoHandlerTest and also not adding a static 
SystemInfoHandler.getSecurityInfo variant for test use.


> Unsafe cast in SystemInfoHandler
> --------------------------------
>
>                 Key: SOLR-15073
>                 URL: https://issues.apache.org/jira/browse/SOLR-15073
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 8.6, 8.7
>            Reporter: Nikolay Ivanov
>            Assignee: Christine Poerschke
>            Priority: Major
>             Fix For: 8.8, master (9.0)
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I have observed an unsafe cast inĀ 
> SystemInfoHandler::getSecurityInfo
> Is this by design? Currently I have a custom AuthorizationPlugin that 
> directly implements AuthorizationPlugin interface. With the latest solr 
> version it is not permitted anymore. A workaround is to extend the 
> RuleBasedAuthorizationPluginBase, which is not ideal imo. Please share your 
> thoughts



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to