org.visallo.authentication

Provides interface for authentication

Provide custom authentication interface to login users.

Visallo will display an error if:

  • No authentication plugins are registered
  • More than one plugins are registered

Registration

registry.registerExtension("org.visallo.authentication", config)

Source:
Tutorials:
See:
Configuration Properties:
Name Type Description
componentPath string

Component that renders the interface to login users

Validation Function

Extensions registered must pass this validation check to be used.

function extensionValidator(e) {
    return _.isString(e.componentPath);
}

Type Definitions

Component

Source:

Custom authentication interface. Trigger loginSucess upon successful login.

Display errorMessage property somewhere in interface if it is non-empty.

Properties:
Name Type Attributes Default Description
errorMessage string <optional>
''

Error Message to display

Fires:
  • org.visallo.authentication#event:loginSuccess