Class SqlAuthorizationOptions


  • public class SqlAuthorizationOptions
    extends Object
    Options configuring JDBC authentication.
    Author:
    Julien Viet
    • Constructor Detail

      • SqlAuthorizationOptions

        public SqlAuthorizationOptions()
      • SqlAuthorizationOptions

        public SqlAuthorizationOptions​(JsonObject json)
    • Method Detail

      • getRolesQuery

        public String getRolesQuery()
      • setRolesQuery

        public SqlAuthorizationOptions setRolesQuery​(String rolesQuery)
        Set the roles query to use. Use this if you want to override the default roles query.
        Parameters:
        rolesQuery - the roles query
        Returns:
        a reference to this, so the API can be used fluently
      • getPermissionsQuery

        public String getPermissionsQuery()
      • setPermissionsQuery

        public SqlAuthorizationOptions setPermissionsQuery​(String permissionsQuery)
        Set the permissions query to use. Use this if you want to override the default permissions query.
        Parameters:
        permissionsQuery - the permissions query
        Returns:
        a reference to this, so the API can be used fluently