Apache IoTDB
Casdoor peut se connecter facilement à Apache IoTDB.
Apache IoTDB Web Workbench already includes Casdoor support. Configure the backend application.yml and enable the front-end switch.
Étape 1 : Déployer Casdoor
Deploy Casdoor. See Server installation. Ensure the server is running and you can sign in at the Casdoor login page.
Étape 2 : Configurer Casdoor
Create an organization and an application in Casdoor (see Application and Organization).
2.1 Créer une organisation

2.2 Créer une application

Étape 3 : Activer l'interrupteur du front-end Apache IoTDB Web Workbench
Ouvrez cet interrupteur pour envoyer le code et l'état au back-end.
Cet interrupteur se trouve dans le fichier iotdb-web-workbench/fronted/.env.
Étape 4 : Configurer le code du back-end
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
Résultat
