Dependencies updated

This commit is contained in:
2016-12-04 09:52:04 +01:00
parent ecf398c9d0
commit b98b7ab95c
3 changed files with 7 additions and 3 deletions

View File

@ -240,6 +240,7 @@ public class HTTPVaultConnector implements VaultConnector {
}
@Override
@Deprecated
public AuthResponse authAppId(final String appID, final String userID) throws VaultConnectorException {
final Map<String, String> payload = new HashMap<>();
payload.put("app_id", appID);
@ -281,6 +282,7 @@ public class HTTPVaultConnector implements VaultConnector {
}
@Override
@Deprecated
public boolean registerAppId(final String appID, final String policy, final String displayName) throws VaultConnectorException {
if (!isAuthorized())
throw new AuthorizationRequiredException();
@ -296,6 +298,7 @@ public class HTTPVaultConnector implements VaultConnector {
}
@Override
@Deprecated
public boolean registerUserId(final String appID, final String userID) throws VaultConnectorException {
if (!isAuthorized())
throw new AuthorizationRequiredException();

View File

@ -183,6 +183,7 @@ public class HTTPVaultConnectorTest {
* App-ID authentication roundtrip.
*/
@Test
@SuppressWarnings("deprecation")
public void authAppIdTest() {
authRoot();
assumeTrue(connector.isAuthorized());