My School want to implement a CAS service, I did the most of the configuration, but I need to register the webapp, How can I register the webapp in CAS services management? Or if you have some samples that can help me, I'll be really grateful.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I have tried using cas management app is version 4.2.x. I am not sure what version you are trying to use.
Although I was able to build the cas management app successfully and make it up and running, for some reason configuring the service in this management app did not work for me.
Alternatively, I found another way to make it for work me. You can register your apps in a JSON file in your cas server web application (note: Not the cas management webapp) itself in the following location, /WEB-INF/classes/services
Follow the following steps,
- You will see default services in this location. Copy and create a new json file for your service.
- The file name is made up of service Name and unique id (you can choose a unique id of your choice)
- Inside the file, you need to configure the service URL, id that you gave in the file name, name of the service application, logout service url, etc...)
- restart the cas server. Service should be ready for use