增加前后端分离的单点登录样例工程web-sso

This commit is contained in:
zlt
2020-03-14 17:48:35 +08:00
parent 658f4d651e
commit 91328ef6cc
19 changed files with 344 additions and 60 deletions
+8 -40
View File
@@ -7,44 +7,12 @@
<version>3.3.0</version>
</parent>
<artifactId>sso-demo</artifactId>
<description>单点登录demo</description>
<dependencies>
<dependency>
<groupId>com.zlt</groupId>
<artifactId>zlt-common-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-oauth2</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId>
</dependency>
</dependencies>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<modules>
<!-- springSecurity单点登录demo -->
<module>ss-sso</module>
<!-- 前后端分离单点登录demo -->
<module>web-sso</module>
</modules>
</project>