skip to main content
Administering Hybrid Data Pipeline : Authentication : Integrating external authentication with a Java plugin : Building a Java plugin for external authentication : Java authentication plugin interface syntax
  

Try Now
Java authentication plugin interface syntax
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"
}