[jboss-jira] [JBoss JIRA] (WFLY-7498) Elytron Credential Store "base.store" parameter doesn't work properly.

Hynek Švábek (JIRA) issues at jboss.org
Mon Nov 7 03:01:03 EST 2016


Hynek Švábek created WFLY-7498:
----------------------------------

             Summary: Elytron Credential Store "base.store" parameter doesn't work properly.
                 Key: WFLY-7498
                 URL: https://issues.jboss.org/browse/WFLY-7498
             Project: WildFly
          Issue Type: Bug
          Components: Security
            Reporter: Hynek Švábek
            Assignee: Darran Lofthouse


Elytron Credential Store "base.store" parameter doesn't work properly.

I tried create credential store from scratch:
{code}
/subsystem=elytron/credential-store=cs001_sb:add(uri="cr-store://test/key126.jceks?store.password=pass123;key.password=pass456;create.storage=true;
store.base=/tmp;key.alias=MY_ALIAS")
{code}
{code}
/subsystem=elytron/credential-store=cs001_sb/alias=alias001:add(secret-value=secValue)
{code}

and credential store file *is created in JBOSS_EAP/Standalone/data path not in /tmp.*


*My investigation*
* Here it seems fine https://github.com/wildfly-security/wildfly-elytron/blob/0f0e0109c2652fdc23255a933567dca135ed72a7/src/main/java/org/wildfly/security/credential/store/impl/KeystorePasswordStore.java#L590
* Maybe some kind of compiler optimisation (switch line execution?) https://github.com/wildfly-security/wildfly-elytron/blob/0f0e0109c2652fdc23255a933567dca135ed72a7/src/main/java/org/wildfly/security/credential/store/impl/KeystorePasswordStore.java#L256



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list