兼容cas
This commit is contained in:
@@ -14,8 +14,36 @@
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<java.cas.client.version>3.5.0</java.cas.client.version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>net.unicon.cas</groupId>-->
|
||||
<!-- <artifactId>cas-client-autoconfig-support</artifactId>-->
|
||||
<!-- <version>1.4.0-GA</version>-->
|
||||
<!-- <exclusions>-->
|
||||
<!-- <exclusion>-->
|
||||
<!-- <groupId>org.jasig.cas.client</groupId>-->
|
||||
<!-- <artifactId>cas-client-core</artifactId>-->
|
||||
<!-- </exclusion>-->
|
||||
<!-- </exclusions>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>com.liu</groupId>
|
||||
<artifactId>cas_client-gateway-spring-boot-starter</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.jasig.cas.client</groupId>-->
|
||||
<!-- <artifactId>cas-client-core</artifactId>-->
|
||||
<!-- <version>${java.cas.client.version}</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- https://mvnrepository.com/artifact/org.jasig.cas.client/cas-client-integration-tomcat-common -->
|
||||
<dependency>
|
||||
<groupId>org.jasig.cas.client</groupId>
|
||||
<artifactId>cas-client-integration-tomcat-common</artifactId>
|
||||
<version>${java.cas.client.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.hcframe</groupId>
|
||||
<artifactId>hcframe-base</artifactId>
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
server:
|
||||
port: 8084
|
||||
#cas:
|
||||
# server-url-prefix: http://192.168.1.131:8080/cas
|
||||
# server-login-url: http://192.168.1.131:8080/cas/login
|
||||
# client-host-url: http://localhost:8084
|
||||
# validation-type: CAS3
|
||||
cas:
|
||||
liu:
|
||||
client:
|
||||
casServiceUrl: http://192.168.1.131:8080/cas
|
||||
serviceUrl: http://localhost:8084
|
||||
spring:
|
||||
application:
|
||||
name: cloud-gateway
|
||||
@@ -26,8 +36,8 @@ spring:
|
||||
druid:
|
||||
# 配置sqlite文件路径,需要填写绝对路径,推荐将sqlite文件放入到服务器上,而非程序jar包或war包中
|
||||
driver-class-name: org.sqlite.JDBC
|
||||
# url: jdbc:sqlite:/Volumes/DATA/ideaProject/common-frame/hcframe/hcframe-parent/hcframe-config/src/main/resources/datasource.db
|
||||
url: jdbc:sqlite:D:/nacos-server-1.4.1/datasource.db
|
||||
url: jdbc:sqlite:/Volumes/DATA/ideaProject/common-frame/hcframe/hcframe-parent/hcframe-config/src/main/resources/datasource.db
|
||||
# url: jdbc:sqlite:D:/nacos-server-1.4.1/datasource.db
|
||||
username:
|
||||
password:
|
||||
#使用Druid数据源
|
||||
|
||||
Reference in New Issue
Block a user