[jboss-jira] [JBoss JIRA] (WFCORE-2555) Cache in KeyStoreCredentialStore must work with lowercase aliases (keys) too.

Hynek Švábek (JIRA) issues at jboss.org
Fri Mar 17 07:12:00 EDT 2017


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

Hynek Švábek updated WFCORE-2555:
---------------------------------
    Description: 
Cache in KeyStoreCredentialStore must work with lowercase aliases (keys) too.

When I work directly with CredentialStore API I see there problem with case sensitive aliases. I located problem to used cache.
There is one place when we store new entry and where is not key in lowercase.
e.g.
https://github.com/wildfly-security/wildfly-elytron/blob/master/src/main/java/org/wildfly/security/credential/store/impl/KeyStoreCredentialStore.java#L326

  was:
Cache in KeyStoreCredentialStore must work with lowercase aliases (keys) too.

When I work directly with CredentialStore API I see there problem with case sensitive aliases. I located problem to used cache.
There is few places where is not key in lowercase.
e.g.
https://github.com/wildfly-security/wildfly-elytron/blob/master/src/main/java/org/wildfly/security/credential/store/impl/KeyStoreCredentialStore.java#L326



> Cache in KeyStoreCredentialStore must work with lowercase aliases (keys) too.
> -----------------------------------------------------------------------------
>
>                 Key: WFCORE-2555
>                 URL: https://issues.jboss.org/browse/WFCORE-2555
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Security
>            Reporter: Hynek Švábek
>            Assignee: Darran Lofthouse
>
> Cache in KeyStoreCredentialStore must work with lowercase aliases (keys) too.
> When I work directly with CredentialStore API I see there problem with case sensitive aliases. I located problem to used cache.
> There is one place when we store new entry and where is not key in lowercase.
> e.g.
> https://github.com/wildfly-security/wildfly-elytron/blob/master/src/main/java/org/wildfly/security/credential/store/impl/KeyStoreCredentialStore.java#L326



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



More information about the jboss-jira mailing list