Package io.vertx.ext.auth.sqlclient
Class SqlAuthenticationOptions
- java.lang.Object
-
- io.vertx.ext.auth.sqlclient.SqlAuthenticationOptions
-
public class SqlAuthenticationOptions extends Object
Options configuring JDBC authentication.- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description SqlAuthenticationOptions()
SqlAuthenticationOptions(JsonObject json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthenticationQuery()
SqlAuthenticationOptions
setAuthenticationQuery(String authenticationQuery)
Set the authentication query to use.JsonObject
toJson()
-
-
-
Constructor Detail
-
SqlAuthenticationOptions
public SqlAuthenticationOptions()
-
SqlAuthenticationOptions
public SqlAuthenticationOptions(JsonObject json)
-
-
Method Detail
-
getAuthenticationQuery
public String getAuthenticationQuery()
-
setAuthenticationQuery
public SqlAuthenticationOptions setAuthenticationQuery(String authenticationQuery)
Set the authentication query to use. Use this if you want to override the default authentication query.- Parameters:
authenticationQuery
- the authentication query- Returns:
- a reference to this, so the API can be used fluently
-
toJson
public JsonObject toJson()
-
-