diff --git a/pigx-visual/pigx-sso-client-demo/pom.xml b/pigx-visual/pigx-sso-client-demo/pom.xml
deleted file mode 100644
index 8ed0a1648..000000000
--- a/pigx-visual/pigx-sso-client-demo/pom.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
- * 单点登录客户端 1. 启动实例访问:http://localhost:4040/sso1/ 提示登录,然后获取到用户信息 2. 再启动一个实例: - * http://localhost:4041/sso1/ 不需要登录即可获取当前用户信息 - */ -@EnableOAuth2Sso -@SpringBootApplication -public class PigxSsoClientDemoApplication { - - public static void main(String[] args) { - SpringApplication.run(PigxSsoClientDemoApplication.class, args); - } - -} diff --git a/pigx-visual/pigx-sso-client-demo/src/main/java/com/pig4cloud/pigx/sso/controller/DemoController.java b/pigx-visual/pigx-sso-client-demo/src/main/java/com/pig4cloud/pigx/sso/controller/DemoController.java deleted file mode 100644 index 8aa57b708..000000000 --- a/pigx-visual/pigx-sso-client-demo/src/main/java/com/pig4cloud/pigx/sso/controller/DemoController.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2018-2025, lengleng All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the pig4cloud.com developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: lengleng (wangiegie@gmail.com) - */ - -package com.pig4cloud.pigx.sso.controller; - -import org.springframework.security.core.Authentication; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RestController; - -/** - * @author lengleng - * @date 2018/1/27 demo controller - */ -@RestController -public class DemoController { - - @GetMapping("/user") - public Authentication user(Authentication authentication) { - return authentication; - } - -} diff --git a/pigx-visual/pigx-sso-client-demo/src/main/resources/bootstrap.yml b/pigx-visual/pigx-sso-client-demo/src/main/resources/bootstrap.yml deleted file mode 100644 index 528471596..000000000 --- a/pigx-visual/pigx-sso-client-demo/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,20 +0,0 @@ -#server: -# port: 4040 -# servlet: -# context-path: /sso1 -# -#security: -# oauth2: -# client: -# client-id: pig -# client-secret: pig -# user-authorization-uri: http://localhost:3000/oauth/authorize -# access-token-uri: http://localhost:3000/oauth/token -# scope: server -# resource: -# loadBalanced: true -# token-info-uri: http://localhost:3000/oauth/check_token -# -#spring: -# application: -# name: @artifactId@ diff --git a/pigx-visual/pigx-sso-client-demo/src/main/resources/static/index.html b/pigx-visual/pigx-sso-client-demo/src/main/resources/static/index.html deleted file mode 100644 index 5a67bdc44..000000000 --- a/pigx-visual/pigx-sso-client-demo/src/main/resources/static/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - -
- -