Minor JavaDoc corrections
This commit is contained in:
parent
e988833eb9
commit
17145e53be
@ -135,7 +135,8 @@ public class HTTPVaultConnector implements VaultConnector {
|
|||||||
/**
|
/**
|
||||||
* Create connector using full URL and trusted certificate.
|
* Create connector using full URL and trusted certificate.
|
||||||
*
|
*
|
||||||
* @param baseURL The URL
|
* @param baseURL The URL
|
||||||
|
* @param sslContext Custom SSL Context
|
||||||
*/
|
*/
|
||||||
public HTTPVaultConnector(String baseURL, SSLContext sslContext) {
|
public HTTPVaultConnector(String baseURL, SSLContext sslContext) {
|
||||||
this.baseURL = baseURL;
|
this.baseURL = baseURL;
|
||||||
|
@ -405,6 +405,7 @@ public interface VaultConnector {
|
|||||||
*
|
*
|
||||||
* @param leaseID the lase ID
|
* @param leaseID the lase ID
|
||||||
* @return Renewed lease
|
* @return Renewed lease
|
||||||
|
* @throws VaultConnectorException on error
|
||||||
*/
|
*/
|
||||||
default SecretResponse renew(final String leaseID) throws VaultConnectorException {
|
default SecretResponse renew(final String leaseID) throws VaultConnectorException {
|
||||||
return renew(leaseID, null);
|
return renew(leaseID, null);
|
||||||
@ -416,6 +417,7 @@ public interface VaultConnector {
|
|||||||
* @param leaseID the lase ID
|
* @param leaseID the lase ID
|
||||||
* @param increment number of seconds to extend lease time
|
* @param increment number of seconds to extend lease time
|
||||||
* @return Renewed lease
|
* @return Renewed lease
|
||||||
|
* @throws VaultConnectorException on error
|
||||||
*/
|
*/
|
||||||
SecretResponse renew(final String leaseID, final Integer increment) throws VaultConnectorException;
|
SecretResponse renew(final String leaseID, final Integer increment) throws VaultConnectorException;
|
||||||
|
|
||||||
|
@ -128,6 +128,7 @@ public class HTTPVaultConnectorFactory extends VaultConnectorFactory {
|
|||||||
*
|
*
|
||||||
* @param cert path to certificate file
|
* @param cert path to certificate file
|
||||||
* @return self
|
* @return self
|
||||||
|
* @throws VaultConnectorException on error
|
||||||
* @since 0.4.0
|
* @since 0.4.0
|
||||||
*/
|
*/
|
||||||
public HTTPVaultConnectorFactory withTrustedCA(Path cert) throws VaultConnectorException {
|
public HTTPVaultConnectorFactory withTrustedCA(Path cert) throws VaultConnectorException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user