Class KeyStoreOptions
java.lang.Object
io.vertx.ext.auth.KeyStoreOptions
Options describing how an JWT KeyStore should behave.
This is an extended version core's
KeyStoreOptions.
This extension sets the default type to the runtime keystore type (for compatibility, reasons)
plus it allows the configuration of password per key using setPasswordProtection(Map).
- Author:
- Paulo Lopes
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorKeyStoreOptions(JsonObject json) Constructor to create an options from JSONKeyStoreOptions(KeyStoreOptions other) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptiongetPath()getType()putPasswordProtection(String alias, String password) setPassword(String password) setPasswordProtection(Map<String, String> passwordProtection) setProvider(String provider)
-
Constructor Details
-
KeyStoreOptions
public KeyStoreOptions()Default constructor -
KeyStoreOptions
Copy constructor- Parameters:
other- the options to copy
-
KeyStoreOptions
Constructor to create an options from JSON- Parameters:
json- the JSON
-
-
Method Details
-
setType
-
setProvider
-
setPassword
-
setPath
-
setPasswordProtection
-
getType
-
getProvider
-
getPassword
-
getPath
-
getPasswordProtection
-
putPasswordProtection
-