public class HtpasswdAuthOptions extends Object implements AuthOptions
Constructor and Description |
---|
HtpasswdAuthOptions() |
HtpasswdAuthOptions(HtpasswdAuthOptions that) |
HtpasswdAuthOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
AuthOptions |
clone() |
AuthProvider |
createProvider(Vertx vertx)
Create the suitable provider for this option.
|
String |
getHtpasswdFile() |
boolean |
isPlainTextEnabled() |
HtpasswdAuthOptions |
setHtpasswdFile(String htpasswdFile) |
HtpasswdAuthOptions |
setPlainTextEnabled(boolean plainTextEnabled) |
JsonObject |
toJson() |
public HtpasswdAuthOptions()
public HtpasswdAuthOptions(JsonObject json)
public HtpasswdAuthOptions(HtpasswdAuthOptions that)
public HtpasswdAuthOptions setPlainTextEnabled(boolean plainTextEnabled)
public boolean isPlainTextEnabled()
public String getHtpasswdFile()
public HtpasswdAuthOptions setHtpasswdFile(String htpasswdFile)
public AuthOptions clone()
clone
in interface AuthOptions
clone
in class Object
public AuthProvider createProvider(Vertx vertx)
AuthOptions
createProvider
in interface AuthOptions
vertx
- the vertx instancepublic JsonObject toJson()
Copyright © 2023 Eclipse. All rights reserved.