[jboss-jira] [JBoss JIRA] (ELY-1790) wildfly-elytron-tool.jar : ClassNotFoundException: org.wildfly.security.password.impl.PasswordFactorySpiImpl

Martin Choma (Jira) issues at jboss.org
Wed Apr 17 01:06:00 EDT 2019


     [ https://issues.jboss.org/browse/ELY-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Choma updated ELY-1790:
------------------------------
    Steps to Reproduce: 
1. build WF from master
2. ./elytron-tool.sh credential-store --add secret_alias --password pass123 --create -x secret_password -l store.jceks --summary


> wildfly-elytron-tool.jar : ClassNotFoundException: org.wildfly.security.password.impl.PasswordFactorySpiImpl
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ELY-1790
>                 URL: https://issues.jboss.org/browse/ELY-1790
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: Command-Line Tool
>    Affects Versions: 1.9.0.CR3
>            Reporter: Martin Choma
>            Priority: Blocker
>
> 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