Elytron client, wildfly-config.xml, User is not able to use credential-store-reference with clear-text password to access credential store. Store name and alias must be incorrectly defined.
There must work these two scenarious:
- User uses only clear-text password <credential-store-reference clear-text="pass123"/>
- User uses password obtained from another credential store <credential-store-reference store="CS_STORE_NAME" alias="pwd"/> and both "store" and "alias" must be defined.
I see problem in ElytronXmlParser , where is always used "storeName" and then "alias" to create new CredentialStoreCredentialSource(credentialStore, alias);
How to reproduce
- Please use files which are attached
- set right path to cs.jceks in wildfly-config.xml
- run EAP server
- run client
When you set correct store to credential-store-reference, then you get error about "alias is required..."