]
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
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}}.