-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
1.3.1.Final
-
None
-
-
Workaround Exists
-
Wildfly Elytron tool is not aligned with fix for ELY-1460 - Do not reuse location attribute for externalPath attribute. Make externalPath required when external configured.
In Wildfly Elytron tool location is mandatory
CredentialStoreCommand.java
String location = cmdLine.getOptionValue(STORE_LOCATION_PARAM); if (location == null) { setStatus(GENERAL_CONFIGURATION_ERROR); throw ElytronToolMessages.msg.optionNotSpecified(STORE_LOCATION_PARAM); } {code:java|title=CredentialStoreCommand.java} After relaxing this check, double check usage of location, e.g. here
if ((cmdLine.hasOption(ALIASES_PARAM) || cmdLine.hasOption(CHECK_ALIAS_PARAM)) && !Files.exists(Paths.get(location)))
{ setStatus(GENERAL_CONFIGURATION_ERROR); throw ElytronToolMessages.msg.storageFileDoesNotExist(location); }- is caused by
-
ELY-1460 External CS, PKCS11 can't be configured with externalPath
- Resolved
- is cloned by
-
JBEAP-14702 (7.1.z) Wildfly Elytron Tool, location is required even for non-filebased type e.g. PKCS11
- Closed