Browse Source

删除resource server

zhouhao 7 years ago
parent
commit
c4feb4ce69

+ 0 - 54
hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-resource-server/pom.xml

@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ~  Copyright 2016 http://www.hswebframework.org
-  ~
-  ~  Licensed under the Apache License, Version 2.0 (the "License");
-  ~  you may not use this file except in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~        http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing, software
-  ~  distributed under the License is distributed on an "AS IS" BASIS,
-  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~  See the License for the specific language governing permissions and
-  ~  limitations under the License.
-  ~
-  ~
-  -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <parent>
-        <artifactId>hsweb-authorization-oauth2</artifactId>
-        <groupId>org.hswebframework.web</groupId>
-        <version>3.0-SNAPSHOT</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>hsweb-authorization-oauth2-resource-server</artifactId>
-
-
-    <dependencies>
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.hswebframework.web</groupId>
-            <artifactId>hsweb-authorization-oauth2-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.hswebframework.web</groupId>
-            <artifactId>hsweb-authorization-api</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.hswebframework.web</groupId>
-            <artifactId>hsweb-authorization-oauth2-client</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-    </dependencies>
-</project>

+ 0 - 17
hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-resource-server/src/main/java/org/hswebframework/web/authorization/oauth2/resource/EnableOAuth2ResourceServer.java

@@ -1,17 +0,0 @@
-package org.hswebframework.web.authorization.oauth2.resource;
-
-import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
-
-import java.lang.annotation.*;
-
-/**
- * TODO 完成注释
- *
- * @author zhouhao
- */
-@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.RUNTIME)
-@Documented
-@ImportAutoConfiguration(OAuth2ResourceServerAutoConfigruation.class)
-public @interface EnableOAuth2ResourceServer {
-}

+ 0 - 13
hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-resource-server/src/main/java/org/hswebframework/web/authorization/oauth2/resource/OAuth2ResourceServerAutoConfigruation.java

@@ -1,13 +0,0 @@
-package org.hswebframework.web.authorization.oauth2.resource;
-
-import org.springframework.context.annotation.Configuration;
-
-/**
- * TODO 完成注释
- *
- * @author zhouhao
- */
-@Configuration
-public class OAuth2ResourceServerAutoConfigruation {
-
-}

+ 0 - 18
hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-resource-server/src/main/java/org/hswebframework/web/authorization/oauth2/resource/OAuth2ResourceServerProperties.java

@@ -1,18 +0,0 @@
-package org.hswebframework.web.authorization.oauth2.resource;
-
-/**
- * TODO 完成注释
- *
- * @author zhouhao
- */
-public class OAuth2ResourceServerProperties {
-    private String url;
-
-    private String authInfoUri = "/oauth2/auth-info";
-
-    private String clientId;
-
-    private String clientSecuret;
-
-
-}

+ 0 - 1
hsweb-authorization/hsweb-authorization-oauth2/pom.xml

@@ -14,7 +14,6 @@
     <modules>
     <modules>
         <module>hsweb-authorization-oauth2-auth-server</module>
         <module>hsweb-authorization-oauth2-auth-server</module>
         <module>hsweb-authorization-oauth2-client</module>
         <module>hsweb-authorization-oauth2-client</module>
-        <module>hsweb-authorization-oauth2-resource-server</module>
         <module>hsweb-authorization-oauth2-core</module>
         <module>hsweb-authorization-oauth2-core</module>
     </modules>
     </modules>