From fe5c817ddd73ad6a53b12157e756e39931cef784 Mon Sep 17 00:00:00 2001 From: Peter Skopek Date: Mon, 17 Apr 2017 17:04:08 +0200 Subject: [PATCH] [ELY-1043] support getAliases() to perform full conversion from Vault format --- .../credential/store/impl/VaultCredentialStore.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/org/wildfly/security/credential/store/impl/VaultCredentialStore.java b/src/main/java/org/wildfly/security/credential/store/impl/VaultCredentialStore.java index 93d948d7330..bd698cddf3c 100644 --- a/src/main/java/org/wildfly/security/credential/store/impl/VaultCredentialStore.java +++ b/src/main/java/org/wildfly/security/credential/store/impl/VaultCredentialStore.java @@ -30,6 +30,7 @@ import java.security.spec.AlgorithmParameterSpec; import java.util.HashMap; import java.util.Map; +import java.util.Set; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; @@ -202,4 +203,10 @@ public void flush() throws CredentialStoreException { } } } + + @Override + public Set getAliases() throws UnsupportedOperationException, CredentialStoreException { + return data.keySet(); + } + }