Package net.webpdf.wsclient.openapi
Class ServerConfigUserDb
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ServerConfigUserDb
-
public class ServerConfigUserDb extends Object
Defines a relational user database as user source.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONNECTION_NAMEstatic StringJSON_PROPERTY_CONNECTION_PASSWORDstatic StringJSON_PROPERTY_CONNECTION_U_R_Lstatic StringJSON_PROPERTY_DIGESTstatic StringJSON_PROPERTY_DRIVER_NAMEstatic StringJSON_PROPERTY_ROLE_NAME_COLstatic StringJSON_PROPERTY_USER_CRED_COLstatic StringJSON_PROPERTY_USER_NAME_COLstatic StringJSON_PROPERTY_USER_ROLE_TABLEstatic StringJSON_PROPERTY_USER_TABLE
-
Constructor Summary
Constructors Constructor Description ServerConfigUserDb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerConfigUserDbconnectionName(String connectionName)ServerConfigUserDbconnectionPassword(String connectionPassword)ServerConfigUserDbconnectionURL(String connectionURL)ServerConfigUserDbdigest(String digest)ServerConfigUserDbdriverName(String driverName)booleanequals(Object o)@Nullable StringgetConnectionName()The name of the database user to access the database for.@Nullable StringgetConnectionPassword()The password of the database user to access the database with.@Nullable StringgetConnectionURL()The URL of the database.@Nullable StringgetDigest()This field currently is unused.@Nullable StringgetDriverName()The name of the driver (path of the java class) to use for database access.@Nullable StringgetRoleNameCol()The name of the column containing the user's role.@Nullable StringgetUserCredCol()The name of the column containing the user's credentials.@Nullable StringgetUserNameCol()The name of the column containing the user's name.@Nullable StringgetUserRoleTable()The name of the table, that defines the available user roles.@Nullable StringgetUserTable()The name of the database table, that lists the server's users.inthashCode()ServerConfigUserDbroleNameCol(String roleNameCol)voidsetConnectionName(String connectionName)voidsetConnectionPassword(String connectionPassword)voidsetConnectionURL(String connectionURL)voidsetDigest(String digest)voidsetDriverName(String driverName)voidsetRoleNameCol(String roleNameCol)voidsetUserCredCol(String userCredCol)voidsetUserNameCol(String userNameCol)voidsetUserRoleTable(String userRoleTable)voidsetUserTable(String userTable)StringtoString()ServerConfigUserDbuserCredCol(String userCredCol)ServerConfigUserDbuserNameCol(String userNameCol)ServerConfigUserDbuserRoleTable(String userRoleTable)ServerConfigUserDbuserTable(String userTable)
-
-
-
Field Detail
-
JSON_PROPERTY_CONNECTION_NAME
public static final String JSON_PROPERTY_CONNECTION_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONNECTION_PASSWORD
public static final String JSON_PROPERTY_CONNECTION_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONNECTION_U_R_L
public static final String JSON_PROPERTY_CONNECTION_U_R_L
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DIGEST
public static final String JSON_PROPERTY_DIGEST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DRIVER_NAME
public static final String JSON_PROPERTY_DRIVER_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROLE_NAME_COL
public static final String JSON_PROPERTY_ROLE_NAME_COL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_CRED_COL
public static final String JSON_PROPERTY_USER_CRED_COL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_NAME_COL
public static final String JSON_PROPERTY_USER_NAME_COL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_ROLE_TABLE
public static final String JSON_PROPERTY_USER_ROLE_TABLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_TABLE
public static final String JSON_PROPERTY_USER_TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
connectionName
public ServerConfigUserDb connectionName(String connectionName)
-
getConnectionName
@Nullable public @Nullable String getConnectionName()
The name of the database user to access the database for.- Returns:
- connectionName
-
setConnectionName
public void setConnectionName(String connectionName)
-
connectionPassword
public ServerConfigUserDb connectionPassword(String connectionPassword)
-
getConnectionPassword
@Nullable public @Nullable String getConnectionPassword()
The password of the database user to access the database with.- Returns:
- connectionPassword
-
setConnectionPassword
public void setConnectionPassword(String connectionPassword)
-
connectionURL
public ServerConfigUserDb connectionURL(String connectionURL)
-
getConnectionURL
@Nullable public @Nullable String getConnectionURL()
The URL of the database. (e.g. \"jdbc:mysql://localhost:3306/webpdf\".)- Returns:
- connectionURL
-
setConnectionURL
public void setConnectionURL(String connectionURL)
-
digest
public ServerConfigUserDb digest(String digest)
-
getDigest
@Nullable public @Nullable String getDigest()
This field currently is unused.- Returns:
- digest
-
setDigest
public void setDigest(String digest)
-
driverName
public ServerConfigUserDb driverName(String driverName)
-
getDriverName
@Nullable public @Nullable String getDriverName()
The name of the driver (path of the java class) to use for database access. (e.g. \"com.mysql.jdbc.Driver\".)- Returns:
- driverName
-
setDriverName
public void setDriverName(String driverName)
-
roleNameCol
public ServerConfigUserDb roleNameCol(String roleNameCol)
-
getRoleNameCol
@Nullable public @Nullable String getRoleNameCol()
The name of the column containing the user's role.- Returns:
- roleNameCol
-
setRoleNameCol
public void setRoleNameCol(String roleNameCol)
-
userCredCol
public ServerConfigUserDb userCredCol(String userCredCol)
-
getUserCredCol
@Nullable public @Nullable String getUserCredCol()
The name of the column containing the user's credentials.- Returns:
- userCredCol
-
setUserCredCol
public void setUserCredCol(String userCredCol)
-
userNameCol
public ServerConfigUserDb userNameCol(String userNameCol)
-
getUserNameCol
@Nullable public @Nullable String getUserNameCol()
The name of the column containing the user's name.- Returns:
- userNameCol
-
setUserNameCol
public void setUserNameCol(String userNameCol)
-
userRoleTable
public ServerConfigUserDb userRoleTable(String userRoleTable)
-
getUserRoleTable
@Nullable public @Nullable String getUserRoleTable()
The name of the table, that defines the available user roles.- Returns:
- userRoleTable
-
setUserRoleTable
public void setUserRoleTable(String userRoleTable)
-
userTable
public ServerConfigUserDb userTable(String userTable)
-
getUserTable
@Nullable public @Nullable String getUserTable()
The name of the database table, that lists the server's users.- Returns:
- userTable
-
setUserTable
public void setUserTable(String userTable)
-
-