skip to main content
Hybrid Data Pipeline API reference : Administrators API : Authentication API : Get authentication types
  

Try Now
Get authentication types

Purpose

Retrieves supported authentication types.

URL

https://<myserver>:<port>/api/admin/auth/types

Method

GET

URL Parameters

<myserver> is the hostname or IP address of the machine hosting the Hybrid Data Pipeline server for a standalone installation, or the machine hosting the load balancer for a load balancer installation. For a standalone installation, <port> is the port number specified as the Server Access Port during installation. For a load balancer installation, <port> must be either 80 for http or 443 for https. Whenever port 80 or 443 are used, it is not necessary to include the port number in the URL.

Response Definition

The response takes the following format.
{
"authTypes": [
{
"id": authtype_id,
"name": "authtype_name",
"description": "authtype_description"
},
...
]
}
Property
Description
Valid Values
"id"
The ID of the authentication type.
1 | 2 | 3
1 is the ID for the internal authentication type.
2 is the ID for a service that uses a Java plugin.
3 is the ID for a service that uses LDAP.
"name"
The name of the authentication type.
A string that specifies the name of the authentication type.
"description"
The description of the authentication type.
A string that provides the description of the authentication type.

Sample Server Success Response

Status code: 200
Successful response
{
"authTypes": [
{
"id": 1,
"name": "Internal",
"description": "Password stored in service. The default HDP authentication."
},
{
"id": 2,
"name": "Java Auth Plugin",
"description": "An authentication service that implements a Java Authentication plugin interface."
},
{
"id": 3,
"name": "LDAP Auth Plugin",
"description": "An authentication service that authenticates User with LDAP."
}
]

Sample Server Failure Response

Status code: 403
Forbidden

Authentication

Basic Authentication using Login ID and Password

Authorization

The user must have either the Administrator (12) permission, or the RegisterExternalAuthService (26) permission and administrative access to the tenant.