Java authentication plugin interface syntax
- Last Updated: September 9, 2022
- 1 minute read
- Hybrid Data Pipeline
- Version 5.0
- Documentation
When building a Java plugin, a Java class must be created that implements the Java authentication plugin interface. The Java plugin interface has the following syntax.
{
"className": "java_plugin_classname",
"attributes": {
"attribute_name": "attribute_value",
"attribute_name": "attribute_value",
...
}
| Property | Description | Valid Values |
|---|---|---|
| "className" | The class name that implements the Java authentication plugin interface. | The name of the class that the Java plugin developer created to implement the Java authentication plugin interface. |
| "attributes" | A JSON object comprised of named attribute values that are passed to
the init method of the Java
plugin. These attributes can provide useful values for
initialization, such as an authentication server name, and can be
used to configure the plugin for use by multiple authentication
servers. |
A valid JSON object. |
Interface example
{
"className": "com.test.hdp.plugins.auth.HDPUserAuthentication",
"attributes": {
"Server": "test-authentication",
"BackupServer": "test-authentication-backup"
}