[jboss-jira] [JBoss JIRA] (ELY-1791) elytron-tool.sh : ClassNotFoundException: org.wildfly.security.password.impl.PasswordFactorySpiImpl
Martin Choma (Jira)
issues at jboss.org
Wed Apr 17 01:59:00 EDT 2019
Martin Choma created ELY-1791:
---------------------------------
Summary: elytron-tool.sh : ClassNotFoundException: org.wildfly.security.password.impl.PasswordFactorySpiImpl
Key: ELY-1791
URL: https://issues.jboss.org/browse/ELY-1791
Project: WildFly Elytron
Issue Type: Bug
Components: Command-Line Tool
Affects Versions: 1.9.0.CR3
Reporter: Martin Choma
We are hitting regression in our tests against WF master
{code}
01:48:56,706 INFO [com.redhat.eap.qe.cli.CommandExecutor] (main) Command:[/home/hudson/hudson_workspace/workspace/eap-7.x-security-fips-matrix/d6d35f0f/openjdk-1.8.0/bin/java, -jar, /home/hudson/hudson_workspace/workspace/eap-7.x-security-fips-matrix/d6d35f0f/fips-testsuite/fips/target/dist/jboss-eap/bin/wildfly-elytron-tool.jar, credential-store, -c, -a, secret-key, -x, pass123+, -p, pass123+, -l, /home/hudson/hudson_workspace/workspace/eap-7.x-security-fips-matrix/d6d35f0f/fips-testsuite/fips/target/FipsCsElytronToolTestCase/workaround_dir, -u, keyStoreType=PKCS11;external=true;keyAlias=my-key;externalPath=/home/hudson/hudson_workspace/workspace/eap-7.x-security-fips-matrix/d6d35f0f/fips-testsuite/fips/target/FipsCsElytronToolTestCase/secure-data-file, --debug]
01:48:57,255 INFO [com.redhat.eap.qe.cli.CommandExecutor] (main) Process output:
01:48:57,255 INFO [com.redhat.eap.qe.cli.CommandExecutor] (main)
01:48:57,256 ERROR [com.redhat.eap.qe.cli.CommandExecutor] (main) Process error:
01:48:57,257 ERROR [com.redhat.eap.qe.cli.CommandExecutor] (main) Exception encountered executing the command:
org.wildfly.security.credential.store.CredentialStoreException: ELY09508: Cannot write credential to store
at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.store(KeyStoreCredentialStore.java:402)
at org.wildfly.security.credential.store.CredentialStore.store(CredentialStore.java:242)
at org.wildfly.security.credential.store.CredentialStore.store(CredentialStore.java:226)
at org.wildfly.security.tool.CredentialStoreCommand.execute(CredentialStoreCommand.java:242)
at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:84)
Caused by: java.security.NoSuchAlgorithmException: class configured for PasswordFactory (provider: WildFlyElytron) cannot be found.
at java.security.Provider$Service.getImplClass(Provider.java:1649)
at java.security.Provider$Service.newInstanceGeneric(Provider.java:1660)
at java.security.Provider$Service.newInstance(Provider.java:1584)
at org.wildfly.security.password.PasswordFactory.getInstance(PasswordFactory.java:119)
at org.wildfly.security.password.PasswordFactory.getInstance(PasswordFactory.java:76)
at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.store(KeyStoreCredentialStore.java:276)
... 4 more
Caused by: java.lang.ClassNotFoundException: org.wildfly.security.password.impl.PasswordFactorySpiImpl
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.security.Provider$Service.getImplClass(Provider.java:1636)
... 9 more
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list