CData Python Connector for Garoon

Build 23.0.8839

接続の確立

コネクタ内で利用可能なオブジェクトは、"cdata.garoon" モジュールからアクセスできます。モジュールのオブジェクトを直接使用するには:

  1. モジュールを以下のようにインポートします。
    import cdata.garoon as mod
  2. 接続を確立するには、以下のような適切な接続文字列を使用してコネクタオブジェクトからconnect() メソッドを呼び出します。
    mod.connect("User=myuseraccount;Password=mypassword;Url=http://subdomain.domain.com;")

Garoon への接続

認証値に加えて、下記のパラメータを使いGaroon に接続しデータを取得します。

  • Url:アカウントのURL。

NOTE:サポートされているバージョンで許容されるURL 形式は以下のとおりです。

  • Cloud 版:https://(subdomain).cybozu.com
  • Package 版(Windows 環境):http://(server IP address or host name)/scripts/(installation identifier)/grn.exe
  • Package 版(Linux 環境):http://(server IP address or host name)/cgi-bin/(installation identifier)/grn.cgi

Garoon への認証

Garoon は、以下の認証メソッドをサポートしています。

パスワード

Garoon への認証には、以下を設定する必要があります。

  • User:アカウントのユーザー名。
  • Password:アカウントのパスワード。
  • AuthScheme:AuthScheme をPassword に設定。

Additional Security

In addition to the mentioned authentication schemes, Garoon offers additional security in the form of both an additional Basic Auth header, and an SSL Certificate.

Basic

Garoon environments using basic authentication will need to pass additional basic credentials. To do so, specify the following:

  • BasicAuthUser - The basic login name.
  • BasicAuthPassword - The basic password.

クライアントSSL

In addition to your authentication information, Garoon may be configured to require an SSL certificate to accept requests. To do so, set the following:

  • SSLClientCert - The file containing the certificate of the SSL Cert. Or alternatively, the name of the certificate store for the client certificate.
  • SSLClientCertType - The type of certificate.
  • SSLClientCertSubject - (Optional) If searching for a certificate in the certificate store, the store is searched for subjects containing the value of the property.
  • SSLClientCertPassword - If the certificate store is of a type that requires a password, this property is used to specify that password to open the certificate store.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839