LDAP構成のリスト

get

/api/v1/configuration/ldapConfig

すべてのLDAP構成をリストします。

リクエスト

この操作のリクエスト・パラメータはありません。

先頭に戻る

レスポンス

サポートされるメディア・タイプ

200レスポンス

OK
本文()
ルート・スキーマ: schema
型: array
ソースの表示
ネストしたスキーマ: LdapConfigDetail
型: object
LDAP構成の詳細
ソースの表示
ネストしたスキーマ: backupHosts
型: array
ADのバックアップ・ドメイン・コントローラのリスト。
ソースの表示

400レスポンス

不正なリクエスト

401レスポンス

未認可

500レスポンス

サービス使用不可
先頭に戻る

このエンドポイントは、Blockchain Platform内のすべてのLDAP構成のリストを取得するために使用されます。

次の例では、cURLを使用してRESTリソースに対するGETリクエストを発行し、LDAP構成のリストを生成する方法を示します。

curl -X GET \
  http://<hostname>:<port>/api/v1/configuration/ldapConfig

たとえば、

curl -X GET \
  http://localhost:17070/api/v1/configuration/ldapConfig

レスポンス本文の例

JSON形式のレスポンス本文のコンテンツの例を次に示します。

[
    {
        "ldapId": "DEFAULT-LDAP-ID-001",
        "ldapName": "Default",
        "ldapType": "OpenLDAP",
        "ldapHost": "myvm.oracle.com",
        "ldapPort": 389,
        "ldapTLSEnabled": false,
        "ldapBaseDN": "dc=example,dc=org",
        "ldapBindDN": "cn=admin,dc=example,dc=org",
        "ldapBindPassword": "********",
        "userNameAttribute": "cn",
        "userClassName": "simpleSecurityObject",
        "groupNameAttribute": "cn",
        "groupMembershipAttribute": "member",
        "groupClassName": "groupOfNames",
        "connectTimeout": 30000
    },
    {
        "ldapId": "a455c6ab-dc36-4553-90c4-bddb3532bc50",
        "ldapName": "localLDAP",
        "ldapType": "OpenLDAP",
        "ldapHost": "10.0.2.15",
        "ldapPort": 389,
        "ldapTLSEnabled": false,
        "ldapBaseDN": "dc=example,dc=org",
        "ldapBindDN": "cn=admin,dc=example,dc=org",
        "ldapBindPassword": "********",
        "userNameAttribute": "cn",
        "userClassName": "simpleSecurityObject",
        "groupNameAttribute": "cn",
        "groupMembershipAttribute": "member",
        "groupClassName": "groupOfNames",
        "connectTimeout": 30000
    }
]
先頭に戻る