Token metamodel implemented
This commit is contained in:
@@ -20,6 +20,7 @@ import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import de.stklcode.jvault.connector.exception.*;
|
||||
import de.stklcode.jvault.connector.model.AuthBackend;
|
||||
import de.stklcode.jvault.connector.model.Token;
|
||||
import de.stklcode.jvault.connector.model.response.*;
|
||||
import de.stklcode.jvault.connector.model.response.embedded.AuthMethod;
|
||||
import org.apache.http.HttpResponse;
|
||||
@@ -338,6 +339,12 @@ public class HTTPVaultConnector implements VaultConnector {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TokenResponse createToken(final Token token) throws VaultConnectorException {
|
||||
/* TODO */
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Execute HTTP request using POST method.
|
||||
|
Reference in New Issue
Block a user