From 9ef709e3eb17236d53163232b645e3d4df553cc8 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Tue, 8 Jun 2021 18:35:01 +0200 Subject: [PATCH] specify version and removal flag for remaining deprecations --- .../java/de/stklcode/jvault/connector/VaultConnector.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/stklcode/jvault/connector/VaultConnector.java b/src/main/java/de/stklcode/jvault/connector/VaultConnector.java index 4fc1a0f..45174dc 100644 --- a/src/main/java/de/stklcode/jvault/connector/VaultConnector.java +++ b/src/main/java/de/stklcode/jvault/connector/VaultConnector.java @@ -123,7 +123,7 @@ public interface VaultConnector extends AutoCloseable, Serializable { * @throws VaultConnectorException on error * @deprecated As of Vault 0.6.1 App-ID is superseded by AppRole. Consider using {@link #authAppRole} instead. */ - @Deprecated + @Deprecated(since = "0.4", forRemoval = false) AuthResponse authAppId(final String appID, final String userID) throws VaultConnectorException; /** @@ -159,7 +159,7 @@ public interface VaultConnector extends AutoCloseable, Serializable { * @throws VaultConnectorException on error * @deprecated As of Vault 0.6.1 App-ID is superseded by AppRole. Consider using {@link #createAppRole} instead. */ - @Deprecated + @Deprecated(since = "0.4", forRemoval = false) boolean registerAppId(final String appID, final String policy, final String displayName) throws VaultConnectorException; @@ -354,7 +354,7 @@ public interface VaultConnector extends AutoCloseable, Serializable { * @deprecated As of Vault 0.6.1 App-ID is superseded by AppRole. * Consider using {@link #createAppRoleSecret} instead. */ - @Deprecated + @Deprecated(since = "0.4", forRemoval = false) boolean registerUserId(final String appID, final String userID) throws VaultConnectorException; /** @@ -368,7 +368,7 @@ public interface VaultConnector extends AutoCloseable, Serializable { * @throws VaultConnectorException on error * @deprecated As of Vault 0.6.1 App-ID is superseded by AppRole. */ - @Deprecated + @Deprecated(since = "0.4", forRemoval = false) default boolean registerAppUserId(final String appID, final String policy, final String displayName,