[jboss-jira] [JBoss JIRA] (ELY-1561) TCCL not set around LoginContext ctor call in GSSCredentialSecurityFactory.Builder#createGSSCredential

David Lloyd (JIRA) issues at jboss.org
Thu Apr 12 08:51:00 EDT 2018


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

David Lloyd commented on ELY-1561:
----------------------------------

This came up while removing unnecessary dependencies from modules.  I removed "sun.jdk" from "org.jboss.as.server" and this problem resulted.

See https://github.com/wildfly/wildfly-core/pull/3207/commits/26e1fc150c1bbb45961121ee0450cff6d5492461#diff-2f428016481c9ebc8e4f1fd8627630dfR45 for the workaround for this issue.

> TCCL not set around LoginContext ctor call in GSSCredentialSecurityFactory.Builder#createGSSCredential
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ELY-1561
>                 URL: https://issues.jboss.org/browse/ELY-1561
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: Authentication Mechanisms
>            Reporter: David Lloyd
>            Assignee: David Lloyd
>             Fix For: 1.1.8.CR1, 1.3.0.CR1, 1.2.5.CR1
>
>
> The TCCL is not set, so the chances of finding {{com.sun.security.auth.module.Krb5LoginModule}} or {{com.ibm.security.auth.module.Krb5LoginModule}} are essentially completely dependent on the environment.  However since the class is always the same, and we can safely assume that we should have a dependency on that module, we should set TCCL around the initialization of the {{LoginContext}}.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list