[
https://issues.jboss.org/browse/ELY-1132?page=com.atlassian.jira.plugin.s...
]
Martin Choma commented on ELY-1132:
-----------------------------------
I would say these are they:
{code:java|title=ElytronXmlParser.java}
case "key-store-clear-password": {
// group 2
if (! gotSource || gotCredential) {
throw reader.unexpectedElement();
}
gotCredential = true;
final char[] clearPassword = ((ClearPassword)
parseClearPassword(reader, Security::getProviders).get()).getPassword();
passwordFactory = () -> clearPassword;
break;
}
...
case "key-store-clear-password": {
if (keyStoreCredential != null) throw reader.unexpectedElement();
ExceptionSupplier<Password, ConfigXMLParseException>
credential = parseClearPassword(reader, Security::getProviders);
keyStoreCredential = () -> new
PasswordEntry(credential.get());
break;
}
...
case "protection-parameter-credentials": {
if (++attributesSectionCount > 2) throw
reader.unexpectedContent();
credentialSourceSupplier = parseCredentialsType(reader,
keyStoresMap, credentialStoresMap, Security::getProviders);
break;
}
{code}
Unable to load passwords from wildfly-config.xml
------------------------------------------------
Key: ELY-1132
URL:
https://issues.jboss.org/browse/ELY-1132
Project: WildFly Elytron
Issue Type: Bug
Reporter: Stuart Douglas
Assignee: Darran Lofthouse
I see the following exception, adding use-service-loader-providers does not help
Caused by: java.security.NoSuchAlgorithmException: ELY08028: Invalid algorithm
"clear"
at org.wildfly.security.password.PasswordFactory.getInstance(PasswordFactory.java:121)
at
org.wildfly.security.auth.client.ElytronXmlParser.lambda$parseClearPassword$47(ElytronXmlParser.java:2009)
... 46 more
Looks like this should just be hard coded to use the Elytron provider?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)