[jboss-jira] [JBoss JIRA] (WFLY-3559) RemoteHostTrustLoginModule: HostThreadLocal seems to be unset
Ramesh Raghavan (Jira)
issues at jboss.org
Tue Mar 26 06:55:06 EDT 2019
[ https://issues.jboss.org/browse/WFLY-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713272#comment-13713272 ]
Ramesh Raghavan commented on WFLY-3559:
---------------------------------------
In Wildfly 15, when using the RemoteHostTrustLoginModule it fails since HostThreadLocal is not set anywhere by Wildfly. Is the RemoteHostTrustLoginModule bundled in Wildfly no longer valid for use?
> RemoteHostTrustLoginModule: HostThreadLocal seems to be unset
> -------------------------------------------------------------
>
> Key: WFLY-3559
> URL: https://issues.jboss.org/browse/WFLY-3559
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: JBoss AS7 7.2.0.Final, 8.1.0.Final
> Reporter: Matthias Berndt
> Assignee: Darran Lofthouse
> Priority: Major
> Fix For: 11.0.0.Alpha1
>
>
> RemoteHostTrustLoginModule needs HostThreadLocal to work correctly. In 6.0 org.jboss.web.tomcat.security.RemoteHostValve was used to call org.jboss.security.plugins.HostThreadLocal#set.
>
> In 8.1 ist doesn't work and looking at the source RemoteHostValve is (of cause) gone und HostThreadLocal#set doesn't seem to be called anywhere. At least it isn't called directly in any class and debugging doesn't step into this method.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list