[
https://issues.redhat.com/browse/WFCORE-5040?page=com.atlassian.jira.plug...
]
Darran Lofthouse updated WFCORE-5040:
-------------------------------------
Description:
The following is logged when PicketBox is not present.
{code:java}
2020-07-08 17:35:19,080 TRACE [org.wildfly.extension.elytron] (ServerService Thread Pool
-- 16) Unable to load default AuthConfigFactory.: java.lang.IllegalStateException: Failed
to find AuthConfigFactory :
org.jboss.security.auth.message.config.JBossAuthConfigFactory2020-07-08 17:35:19,080 TRACE
[org.wildfly.extension.elytron] (ServerService Thread Pool -- 16) Unable to load default
AuthConfigFactory.: java.lang.IllegalStateException: Failed to find AuthConfigFactory :
org.jboss.security.auth.message.config.JBossAuthConfigFactory at
javax.security.auth.message.config.AuthConfigFactory.getFactory(AuthConfigFactory.java:227)
at
org.wildfly.extension.elytron.ElytronDefinition.getAuthConfigFactory(ElytronDefinition.java:405)
at org.wildfly.extension.elytron.ElytronDefinition.access$700(ElytronDefinition.java:112)
at
org.wildfly.extension.elytron.ElytronDefinition$ElytronAdd.lambda$performBoottime$0(ElytronDefinition.java:499)
at org.wildfly.extension.elytron.SecurityActions.doPrivileged(SecurityActions.java:35) at
org.wildfly.extension.elytron.ElytronDefinition$ElytronAdd.performBoottime(ElytronDefinition.java:499)
at
org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:119)
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:164)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
at
org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
at
org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:384)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
at java.lang.Thread.run(Thread.java:748) at
org.jboss.threads.JBossThread.run(JBossThread.java:485)Caused by:
java.lang.ClassNotFoundException:
org.jboss.security.auth.message.config.JBossAuthConfigFactory from [Module
"org.wildfly.extension.elytron" version 13.0.0.Beta2-SNAPSHOT from local module
loader @5f2108b5 (finder: local module finder @31a5c39e (roots:
/home/darranl/tmp/jacc/minimal/modules,/home/darranl/tmp/jacc/minimal/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255) at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) at
javax.security.auth.message.config.AuthConfigFactory$LoadAction.run(AuthConfigFactory.java:571)
at java.security.AccessController.doPrivileged(Native Method) at
javax.security.auth.message.config.AuthConfigFactory.getFactory(AuthConfigFactory.java:211)
... 17 more {code}
Elytron JASPI fallback causes dependency on PicketBox
-----------------------------------------------------
Key: WFCORE-5040
URL:
https://issues.redhat.com/browse/WFCORE-5040
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Priority: Major
Fix For: 13.0.0.Beta2
The following is logged when PicketBox is not present.
{code:java}
2020-07-08 17:35:19,080 TRACE [org.wildfly.extension.elytron] (ServerService Thread Pool
-- 16) Unable to load default AuthConfigFactory.: java.lang.IllegalStateException: Failed
to find AuthConfigFactory :
org.jboss.security.auth.message.config.JBossAuthConfigFactory2020-07-08 17:35:19,080 TRACE
[org.wildfly.extension.elytron] (ServerService Thread Pool -- 16) Unable to load default
AuthConfigFactory.: java.lang.IllegalStateException: Failed to find AuthConfigFactory :
org.jboss.security.auth.message.config.JBossAuthConfigFactory at
javax.security.auth.message.config.AuthConfigFactory.getFactory(AuthConfigFactory.java:227)
at
org.wildfly.extension.elytron.ElytronDefinition.getAuthConfigFactory(ElytronDefinition.java:405)
at org.wildfly.extension.elytron.ElytronDefinition.access$700(ElytronDefinition.java:112)
at
org.wildfly.extension.elytron.ElytronDefinition$ElytronAdd.lambda$performBoottime$0(ElytronDefinition.java:499)
at org.wildfly.extension.elytron.SecurityActions.doPrivileged(SecurityActions.java:35) at
org.wildfly.extension.elytron.ElytronDefinition$ElytronAdd.performBoottime(ElytronDefinition.java:499)
at
org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:119)
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:164)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
at
org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
at
org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:384)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
at java.lang.Thread.run(Thread.java:748) at
org.jboss.threads.JBossThread.run(JBossThread.java:485)Caused by:
java.lang.ClassNotFoundException:
org.jboss.security.auth.message.config.JBossAuthConfigFactory from [Module
"org.wildfly.extension.elytron" version 13.0.0.Beta2-SNAPSHOT from local module
loader @5f2108b5 (finder: local module finder @31a5c39e (roots:
/home/darranl/tmp/jacc/minimal/modules,/home/darranl/tmp/jacc/minimal/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255) at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) at
javax.security.auth.message.config.AuthConfigFactory$LoadAction.run(AuthConfigFactory.java:571)
at java.security.AccessController.doPrivileged(Native Method) at
javax.security.auth.message.config.AuthConfigFactory.getFactory(AuthConfigFactory.java:211)
... 17 more {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)