Apache IoTDB
CasdoorはApache IoTDBに簡単に接続できます。
Apache IoTDB Web Workbench already includes Casdoor support. Configure the backend application.yml and enable the front-end switch.
ステップ1: Casdoorをデプロイする
Deploy Casdoor. See Server installation. Ensure the server is running and you can sign in at the Casdoor login page.
ステップ2: Casdoorを設定する
Create an organization and an application in Casdoor (see Application and Organization).
2.1 組織を作成する

2.2 アプリケーションを作成する

ステップ3: Apache IoTDB Web Workbenchフロントエンドスイッチを有効にする
このスイッチをオンにして、コードと状態をバックエンドに送信します。
このスイッチはiotdb-web-workbench/fronted/.envファイルで見つけることができます。
ステップ4: バックエンドコードを設定する
Configure Casdoor in iotdb-web-workbench/backend/src/main/resources/application.properties.
casdoor.endpoint = http://localhost:8000
casdoor.clientId = <client id from previous step>
casdoor.clientSecret = <client secret from previous step>
casdoor.certificate=<client certificate from previous step>
casdoor.organizationName=IoTDB
casdoor.applicationName=app-IoTDB
結果
