nodece commented on code in PR #499:
URL: https://github.com/apache/pulsar-manager/pull/499#discussion_r1041878382


##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.

Review Comment:
   ```suggestion
   Casdoor can connect to Pulsar-manager simply.
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.
+
+#### stpe2.Configure Casdoor 
+
+Configure casdoor can refer to 
[casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better 
not use one browser with your develop browser).
+
+You also should configure organization, application, you also can refer to 
[casdoor](https://door.casdoor.com/login).
+
+##### step2.1 you should create a organization
+
+![organization](/docs/img/Pulsar-manager_editOrganization.svg)
+
+##### step2.2 you should create a application
+
+![application](/docs/img/Pulsar-manager_editApplication.svg)
+
+#### Step3. Open Pulsar-manager front-end switch.
+
+Open this switch to make code and state send to back-end.
+
+This switch in the Line 80 of pulsar-manager/front-end/src/router/index.js
+
+![frontSwitch](/docs/img/Pulsar-manager_frontSwitch.svg)
+
+#### Step4. Configure back-end code
+
+You should configure casdoor's Configuration in the Line 154 of 
pulsar-manager/src/main/resources/application.properties
+
+```ini
+casdoor.endpoint = http://localhost:8000

Review Comment:
   ```suggestion
   casdoor.endpoint=http://localhost:8000
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.
+
+#### stpe2.Configure Casdoor 
+
+Configure casdoor can refer to 
[casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better 
not use one browser with your develop browser).
+
+You also should configure organization, application, you also can refer to 
[casdoor](https://door.casdoor.com/login).

Review Comment:
   ```suggestion
   You also should configure the organization, and application, you also can 
refer to [casdoor](https://door.casdoor.com/login).
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.
+
+#### stpe2.Configure Casdoor 
+
+Configure casdoor can refer to 
[casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better 
not use one browser with your develop browser).
+
+You also should configure organization, application, you also can refer to 
[casdoor](https://door.casdoor.com/login).
+
+##### step2.1 you should create a organization
+
+![organization](/docs/img/Pulsar-manager_editOrganization.svg)
+
+##### step2.2 you should create a application
+
+![application](/docs/img/Pulsar-manager_editApplication.svg)
+
+#### Step3. Open Pulsar-manager front-end switch.

Review Comment:
   You only change the casdoor config in the front end. 



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.
+
+#### stpe2.Configure Casdoor 
+
+Configure casdoor can refer to 
[casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better 
not use one browser with your develop browser).
+
+You also should configure organization, application, you also can refer to 
[casdoor](https://door.casdoor.com/login).
+
+##### step2.1 you should create a organization
+
+![organization](/docs/img/Pulsar-manager_editOrganization.svg)
+
+##### step2.2 you should create a application

Review Comment:
   ```suggestion
   ##### step2.2 you should create an application
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.
+
+#### stpe2.Configure Casdoor 
+
+Configure casdoor can refer to 
[casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better 
not use one browser with your develop browser).
+
+You also should configure organization, application, you also can refer to 
[casdoor](https://door.casdoor.com/login).
+
+##### step2.1 you should create a organization
+
+![organization](/docs/img/Pulsar-manager_editOrganization.svg)
+
+##### step2.2 you should create a application
+
+![application](/docs/img/Pulsar-manager_editApplication.svg)
+
+#### Step3. Open Pulsar-manager front-end switch.
+
+Open this switch to make code and state send to back-end.
+
+This switch in the Line 80 of pulsar-manager/front-end/src/router/index.js
+
+![frontSwitch](/docs/img/Pulsar-manager_frontSwitch.svg)
+
+#### Step4. Configure back-end code
+
+You should configure casdoor's Configuration in the Line 154 of 
pulsar-manager/src/main/resources/application.properties
+
+```ini
+casdoor.endpoint = http://localhost:8000
+casdoor.clientId = <client id in previous step>
+casdoor.clientSecret = <client Secret in previous step>

Review Comment:
   ```suggestion
   casdoor.clientSecret=<client Secret in previous step>
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.

Review Comment:
   ```suggestion
   Because the code for connecting the casdoor has been added in 
Pulsar-manager, we need to configure the casdoor in the back-end and front-end.
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor

Review Comment:
   ```suggestion
   #### Step1. Deploy Casdoor
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.
+
+#### stpe2.Configure Casdoor 
+
+Configure casdoor can refer to 
[casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better 
not use one browser with your develop browser).
+
+You also should configure organization, application, you also can refer to 
[casdoor](https://door.casdoor.com/login).
+
+##### step2.1 you should create a organization
+
+![organization](/docs/img/Pulsar-manager_editOrganization.svg)
+
+##### step2.2 you should create a application
+
+![application](/docs/img/Pulsar-manager_editApplication.svg)
+
+#### Step3. Open Pulsar-manager front-end switch.
+
+Open this switch to make code and state send to back-end.
+
+This switch in the Line 80 of pulsar-manager/front-end/src/router/index.js
+
+![frontSwitch](/docs/img/Pulsar-manager_frontSwitch.svg)
+
+#### Step4. Configure back-end code
+
+You should configure casdoor's Configuration in the Line 154 of 
pulsar-manager/src/main/resources/application.properties
+
+```ini
+casdoor.endpoint = http://localhost:8000
+casdoor.clientId = <client id in previous step>

Review Comment:
   ```suggestion
   casdoor.clientId=<client id in previous step>
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.
+
+#### stpe2.Configure Casdoor 

Review Comment:
   ```suggestion
   #### step2. Configure Casdoor 
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.
+
+#### stpe2.Configure Casdoor 
+
+Configure casdoor can refer to 
[casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better 
not use one browser with your develop browser).
+
+You also should configure organization, application, you also can refer to 
[casdoor](https://door.casdoor.com/login).
+
+##### step2.1 you should create a organization

Review Comment:
   ```suggestion
   ##### step2.1 you should create an organization
   ```



##########
README.md:
##########
@@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.
 
 ![pulsar-manager-token](docs/img/pulsar-manager-token.gif)
 
+## Casdoor
+
+
+### Casdoor Installation
+
+You can use casdoor to realize sso.
+
+Casdoor can connect to Pulsar-manager simplely.
+
+Because the code for connecting casdoor have been add in Pulsar-manager,so we 
just need configure application.yml in back-end and open front switch.
+
+#### Step1.Deploy Casdoor
+
+Firstly, the Casdoor should be deployed. 
+
+You can refer to the Casdoor official documentation for the 
[Casdoor](https://casdoor.org/docs/overview)
+
+After a successful deployment, you need to ensure:
+
+- The Casdoor server is successfully running on **http://localhost:8000**.
+- Open your favorite browser and visit **http://localhost:7001**, you will see 
the login page of Casdoor.
+- Input `admin` and `123` to test login functionality is working fine.
+
+Then you can quickly implement a casdoor based login page in your own app with 
the following steps.

Review Comment:
   ```suggestion
   Then you can quickly implement a casdoor based login page in your app with 
the following steps.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to