WebContent/WEB-INF/web.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
etc/cas/config/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
etc/cas/config/cas.properties | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/resources/application.properties | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/resources/bootstrap.properties | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
WebContent/WEB-INF/web.xml
@@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1"> <!-- 此处添加 absolute-ordering 标签 --> <!-- <absolute-ordering/>--> <display-name>cas</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file> etc/cas/config/application.yml
@@ -11,21 +11,21 @@ #SSL配置 ssl: enabled: false #注意!!: 值为true启用https,为false则使用http key-store: file:/D:/etc/cas/thekeystore #默认为cas部署所在x盘的etc文件夹 key-store: file:/E:/terrait/TianJin/cas5.0.3/etc/cas/saml #默认为cas部署所在x盘的etc文件夹 key-store-password: changeit keyAlias: cas ## # thymeleaf 缓存(开发时打开) spring.thymeleaf.cache: false #用户验证数据库配置 #用户验证数据库配置,jdbc:postgresql://127.0.0.1:5432/langfang?currentSchema=magbg cas: authn: jdbc: query[0]: sql: SELECT PASSWORD as psw FROM MAGBG.ORG_USER WHERE LOGINNAME=? healthQuery: SELECT 1 FROM MAGBG.ORG_USER url: jdbc:postgresql://127.0.0.1:5432/czxy url: jdbc:postgresql://127.0.0.1:5432/langfang user: postgres password: postgres @@ -96,20 +96,20 @@ ignoreSameIp: true #是否忽略相同IP下的登录 log: enabled: false logServiceUrl: http://LT-PC.gdlthy.cn:8081/api/log/logininfo/addLoginInfo logServiceUrl: http://192.168.20.106:8081/api/log/logininfo/addLoginInfo rabbit: enabled: false rmq_exchange_name: landtool.radar.warn rmq_exchange_type: topic rmq_routing_key_prefix_cas: cas. terra: admissionQueryUrl: http://127.0.0.1:8081/api/sys/systeminfo/isAdmitSysByUserid admissionQueryUrl: http://192.168.20.106:8081/api/sys/systeminfo/isAdmitSysByUserid ojdbc: jdbcUrl: jdbc:postgresql://127.0.0.1:5432/czxy jdbcUrl: jdbc:postgresql://127.0.0.1:5432/langfang username: postgres password: postgres updatesql: UPDATE MAGBG.ORG_USER SET PASSWORD='%s', ISFIRSTLOGIN=1 WHERE LOGINNAME='%s' querysql: SELECT * FROM MAGBG.ORG_USER WHERE LOGINNAME=? driverclass: org.postgresql.Driver etc/cas/config/cas.properties
@@ -1,11 +1,11 @@ # https://cas.tb.org cas.server.name: http://127.0.0.1:8088 cas.server.prefix: http://127.0.0.1:8088/cas cas.server.name: http://127.0.0.1:8081 cas.server.prefix: http://127.0.0.1:8081/cas cas.adminPagesSecurity.ip=127.0.0.1 # logging.config: file:/D:/etc/cas/config/log4j2.xml logging.config: file:/E:/terrait/TianJin/cas5.0.3/etc/cas/configlog4j2.xml logging.config: file:/E:/terrait/TianJin/cas5.0.3/etc/cas/config/log4j2.xml #cas.serviceRegistry.config.location: classpath:/services # 启用单点登出后的servcie跳转 src/resources/application.properties
@@ -69,8 +69,8 @@ spring.thymeleaf.cache=false spring.thymeleaf.mode=HTML #cas.view.defaultRedirectUrl=http://portal.nmsmp.com:8088/ cas.view.defaultRedirectUrl=http://127.0.0.1:8082/ #cas.view.defaultRedirectUrl=http://portal.nmsmp.com:8088/,http://127.0.0.1:8085/login/loginChoose.html cas.view.defaultRedirectUrl=http://192.168.20.106:8082/ ## # CAS Log4j Configuration # src/resources/bootstrap.properties
@@ -16,7 +16,7 @@ spring.profiles.active=native #spring.cloud.config.server.native.searchLocations=file:/E:/etc/cas/config #spring.cloud.config.server.native.searchLocations=file:/root/soft/etc/cas/config spring.cloud.config.server.native.searchLocations=file:/D:/etc/cas/config spring.cloud.config.server.native.searchLocations=file:/E:/terrait/TianJin/cas5.0.3/etc/cas/config #spring.cloud.config.server.native.searchLocations=file:/D:/tomcat8.0-CAS5.0.3/etc/cas/config #从git仓库加载配置 @@ -44,7 +44,7 @@ #cas.authn.samlIdp.metadata.cacheExpirationMinutes=30 #cas.authn.samlIdp.metadata.failFast=true #cas.authn.samlIdp.metadata.location=E:\\etc\\cas\\saml cas.authn.samlIdp.metadata.location=D:\\etc\\cas\\saml cas.authn.samlIdp.metadata.location=E:\\terrait\\TianJin\\cas5.0.3\\etc\\cas\\saml #cas.authn.samlIdp.metadata.location=D:\\tomcat8.0-CAS5.0.3\\etc\\cas\\saml #cas.authn.samlIdp.metadata.privateKeyAlgName=RSA