[jboss-jira] [JBoss JIRA] (WFCORE-3273) sharedState is passed null by PluginAuthenticationCallbackHandler

Darran Lofthouse (JIRA) issues at jboss.org
Mon Sep 18 08:39:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465089#comment-13465089 ] 

Darran Lofthouse commented on WFCORE-3273:
------------------------------------------

Good to hear, my code change should now be ensuring we have a shared state map in all cases now and not just when we have both authentication and authorization defined.

> sharedState is passed null by PluginAuthenticationCallbackHandler
> -----------------------------------------------------------------
>
>                 Key: WFCORE-3273
>                 URL: https://issues.jboss.org/browse/WFCORE-3273
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Security
>         Environment: Fedora 26, using ovirt-engine-wildfly package
>            Reporter: Roy Golan
>            Assignee: Darran Lofthouse
>             Fix For: 3.0.2.Final, 4.0.0.Alpha1
>
>
> oVirt's ovirt-engine uses an authorization plugin [1] for management interface that recently after upgrading to Wildfly 11 stopped working. The reason is the sharedState passed to the plugin's init method is now null.
> A current workaround this would be to avoid adding to plugin into the shareState but that means any delegating plugin would fail to find this plugin and possibly other bad stuff I'm not aware of.
> [1] https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=backend/manager/modules/auth-plugin/src/main/java/org/ovirt/engine/core/jboss_auth_plugin/OvirtAuthPlugIn.java;h=fe2fcb400c0c81d661c03fac173d6ad416b42b9d;hb=95d62f8d7879b1863f2db74f88affb246cf94b37#l26



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list