casserver増加httpリクエスト

casserver増加httpリクエスト

1.フロントの説明

cas-serverを解凍した後、プロジェクト名をcasに変更します。
例:
完成したwarパッケージ名は次のとおりです。cas-server-webapp-tomcat-5.3.14.warリリース後、パッケージ名を変更します。cas
ダウンロードアドレスcas- server-webapp-tomcat -5.3.14.war

1.構成HTTPSandIMAPS-10000001.jsonを変更します

ファイルを変更します:cas \ WEB-INF \ classes \ services \ HTTPSandIMAPS-10000001.json
変更前:

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^(https|imaps)://.*",
  "name" : "HTTPS and IMAPS",
  "id" : 10000001,
  "description" : "This service definition authorizes all application urls that support HTTPS and IMAPS protocols.",
  "evaluationOrder" : 10000
}

変更後:

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^(https|imaps|http)://.*",
  "name" : "HTTPS and IMAPS",
  "id" : 10000001,
  "description" : "This service definition authorizes all application urls that support HTTPS and IMAPS protocols.",
  "evaluationOrder" : 10000
}

注:serviceIdの後にhttpタイプを追加します

2.構成application.propertiesを変更します

ファイルを変更します:\ cas \ WEB-INF \ classes \ application.properties
ファイルの最後に追加します:

cas.tgc.secure=false
cas.serviceRegistry.initFromJson=true

3.サービスを再起動します

少し

終了

おすすめ

転載: blog.csdn.net/Asia1752/article/details/110082195