Class ServerConfigUserDb


  • public class ServerConfigUserDb
    extends Object
    Defines a relational user database as user source.
    • Constructor Detail

      • ServerConfigUserDb

        public ServerConfigUserDb()
    • Method Detail

      • 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)
      • 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)
      • 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)
      • getDigest

        @Nullable
        public @Nullable String getDigest()
        This field currently is unused.
        Returns:
        digest
      • setDigest

        public void setDigest​(String digest)
      • 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)
      • getRoleNameCol

        @Nullable
        public @Nullable String getRoleNameCol()
        The name of the column containing the user's role.
        Returns:
        roleNameCol
      • setRoleNameCol

        public void setRoleNameCol​(String roleNameCol)
      • getUserCredCol

        @Nullable
        public @Nullable String getUserCredCol()
        The name of the column containing the user's credentials.
        Returns:
        userCredCol
      • setUserCredCol

        public void setUserCredCol​(String userCredCol)
      • getUserNameCol

        @Nullable
        public @Nullable String getUserNameCol()
        The name of the column containing the user's name.
        Returns:
        userNameCol
      • setUserNameCol

        public void setUserNameCol​(String userNameCol)
      • 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object