[jboss-jira] [JBoss JIRA] (WFLY-11998) elytron-tool.sh : ClassNotFoundException: org.wildfly.security.password.impl.PasswordFactorySpiImpl

Darran Lofthouse (Jira) issues at jboss.org
Fri Apr 26 09:25:01 EDT 2019


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

Darran Lofthouse resolved WFLY-11998.
-------------------------------------
    Fix Version/s: 17.0.0.Beta1
       Resolution: Rejected


I am going to reject this one as there is no action required within WildFly, a Blocker has already been raised against WildFly Elytron which also has a PR so will be included in the next component upgrade.


> elytron-tool.sh : ClassNotFoundException: org.wildfly.security.password.impl.PasswordFactorySpiImpl
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-11998
>                 URL: https://issues.jboss.org/browse/WFLY-11998
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 17.0.0.Beta1, 17.0.0.Final
>            Reporter: Martin Choma
>            Assignee: Darran Lofthouse
>            Priority: Blocker
>             Fix For: 17.0.0.Beta1
>
>
> 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