如何在CAS服务管理中注册我的Web应用程序? [英] How can I register my webapp in CAS services management?

查看:349
本文介绍了如何在CAS服务管理中注册我的Web应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的学校想实施CAS服务,我做了大部分配置,但是我需要注册webapp,如何在CAS服务管理中注册webapp?或者,如果您有一些可以帮助我的样本,我将不胜感激。

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.

推荐答案

我尝试使用cas管理应用程序的版本是4.2.x。我不确定您要使用哪个版本。

I have tried using cas management app is version 4.2.x. I am not sure what version you are trying to use.

尽管我能够成功构建cas管理应用并使其运行,但由于某种原因,在该管理应用中配置服务对我不起作用。

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.

或者,我找到了另一种使之工作的方法。您可以在以下位置(/ WEB-INF / classes / services)本身的cas服务器Web应用程序(请注意:不是cas管理webapp)中的JSON文件中注册应用程序

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

执行以下步骤,


  • 您将在此位置看到默认服务。复制并为您的服务创建一个新的json文件。

  • 文件名由服务名称和唯一ID组成(您可以选择自己的唯一ID)

  • 在文件内部,您可以需要配置服务URL,您在文件名中输入的ID,服务应用程序的名称,注销服务URL等。)

  • 重新启动cas服务器。服务应已准备就绪

  • 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

这篇关于如何在CAS服务管理中注册我的Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆