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

Hynek Švábek (JIRA) issues at jboss.org
Tue Jan 10 06:07:01 EST 2017


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

Hynek Švábek closed WFLY-7498.
------------------------------
    Resolution: Won't Fix


There was refactoring of this functionality. There is *relative-to* attribute insted of *store.base* parameter.
New Jira issues is here https://issues.jboss.org/browse/WFLY-7865

> Elytron Credential Store "store.base" 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: Peter Skopek
>            Priority: Blocker
>
> Elytron Credential Store "store.base" 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