Spring Security oAuth2 创建认证服务器模块

学习完整课程请移步 互联网 Java 全栈工程师

POM



    4.0.0

    
        com.funtl
        spring-security-oauth2
        1.0.0-SNAPSHOT
    

    spring-security-oauth2-server
    http://www.funtl.com

    
        
            Apache 2.0
            https://www.apache.org/licenses/LICENSE-2.0.txt
        
    

    
        
            liwemin
            Lusifer Lee
            [email protected]
        
    

    
        
        
            org.springframework.boot
            spring-boot-starter-web
        
        
            org.springframework.boot
            spring-boot-starter-test
        

        
        
            org.springframework.cloud
            spring-cloud-starter-oauth2
        
    

    
        
            
                org.springframework.boot
                spring-boot-maven-plugin
                
                    com.funtl.oauth2.OAuth2ServerApplication
                
            
        
    


Application

package com.funtl.oauth2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 认证服务器,用于获取 Token
 * 

* Description: *

* * @author Lusifer * @version v1.0.0 * @date 2019-04-01 16:06:45 * @see com.funtl.oauth2 */ @SpringBootApplication public class OAuth2ServerApplication { public static void main(String[] args) { SpringApplication.run(OAuth2ServerApplication.class, args); } }

你可能感兴趣的:(Spring Security oAuth2 创建认证服务器模块)