Giter VIP home page Giter VIP logo

microservice-integration's Introduction

Build Status codebeat badge

整合项目

整合的项目包括网关、auth权限服务和backend服务。提供了一套微服务架构下,网关服务路由、鉴权和授权认证的项目案例。整个项目的架构图如下:

ms

欲了解更多,见博客《微服务架构中整合网关、权限服务

你的star是对我最好的鼓励^_^

change logs

2020.07.6

  • 修复依赖报错,升级依赖

2019.02.28

  • 升级auth-server依赖至Spring Cloud Greenwich.RELEASE和 Spring Boot 2.1.3.RELEASE
  • 删除无用依赖
  • 删除资源服务器相关配置
  • 简化DataSource配置

2019.2.22

服务发布1.0.0.RELEASE版本,当前版本升级Spring Cloud的版本到Greenwich.RELEASE。本次功能优化如下:

  • 增加网关异常处理
  • 增加网关函数式降级接口
  • Hystrix降级头部信息获取

2018.9.25

consul的版本为1.0以下的版本 下载链接

增加了Spring Cloud Gateway作为网关实现的模块,详见:微服务网关Zuul迁移到Spring Cloud Gateway

新增功能:

  • 全局断路器
  • 限流过滤器
  • ...

项目使用方法

如果你的GitHub网络有问题,请移步码云:https://gitee.com/keets/microservice-integration

涉及到的组件与服务

微服务架构基于Spring Cloud,用到了部分Spring Cloud提供的组件。

  • consul 服务发现组件,所有的服务注册到该组件,类似zk
  • feign 声明式的http调用组件,Spring Cloud通过该组件实现服务之间的通信
  • 存储主要是mysql和redis,auth的初始化sql脚本已经提供
  • auth-server:端口9091 安全权限服务
  • gateway:端口10101 网关,提供路由转发等
  • backend-server:端口9092 实例的后端服务,提供接口级别的权限校验

端点测试

  1. 安装一下,mvn clean install -DskipTests,包括三个模块。
  2. 登录端点

head form

{
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1MTMwOTEzMzEsIlgtQU9ITy1Vc2VySWQiOiJjNjIxY2ZlMy02ZjUzLTQ1ZDYtODRiYi0wNzEyMTE5NDZiMjQiLCJ1c2VyX25hbWUiOiJrZWV0cyIsImp0aSI6ImEwODZmMWIyLWEzOTQtNDUwZS1iMDVlLTEzNmE0ZjdlOTEyZiIsImNsaWVudF9pZCI6ImZyb250ZW5kIiwic2NvcGUiOlsiYWxsIl19.MQP8l_RhmZ-rpxAg8Cguq6X6IA1PaKtrwlxZoMjMTLQ",
    "token_type": "bearer",
    "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX25hbWUiOiJrZWV0cyIsInNjb3BlIjpbImFsbCJdLCJhdGkiOiJhMDg2ZjFiMi1hMzk0LTQ1MGUtYjA1ZS0xMzZhNGY3ZTkxMmYiLCJleHAiOjE1MTU2NDAxMzEsIlgtQU9ITy1Vc2VySWQiOiJjNjIxY2ZlMy02ZjUzLTQ1ZDYtODRiYi0wNzEyMTE5NDZiMjQiLCJqdGkiOiJlZTNhOThlOS0zOThhLTQwYTctOGI0YS1jYzRlOGY4ZmVmNDkiLCJjbGllbnRfaWQiOiJmcm9udGVuZCJ9.k2lVqFfJ0xNkly_10O1u3QQGTHMGp0kxVAEDMjdUgbo",
    "expires_in": 43199,
    "scope": "all",
    "X-AOHO-UserId": "c621cfe3-6f53-45d6-84bb-071211946b24",
    "jti": "a086f1b2-a394-450e-b05e-136a4f7e912f",
    "X-AOHO-ClientId": "frontend"
}

3.刷新端点 refresh

返回结果与上面登录类似。

4.登出端点

out

5.backend后端接口 test

上述请求到达backend被拒绝,因为auth服务使用的userId是随机生成,如果你要真是使用,请修改那部分user服务的实现。

写在最后

项目整合如果遇到问题,可以加入 qq 群(649932629)交流。

ps: qq 交流群已设置付费,可以过滤很多广告,营造高质量的技术交流群。

推荐阅读

  1. 微服务网关netflix-zuul
  2. 认证鉴权与API权限控制在微服务架构中的设计与实现(一)
  3. 认证鉴权与API权限控制在微服务架构中的设计与实现(二)
  4. 认证鉴权与API权限控制在微服务架构中的设计与实现(三)
  5. 认证鉴权与API权限控制在微服务架构中的设计与实现(四)
  6. 微服务架构中整合网关、权限服务

订阅最新文章,欢迎关注我的公众号

微信公众号

microservice-integration's People

Contributors

cangwu avatar keets2012 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microservice-integration's Issues

Error starting ApplicationContext.

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2018-09-28 15:09:54.388 ERROR 16388 --- [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.context.ApplicationContextException: Unable to start reactive web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpHandler' defined in class path resource [org/springframework/boot/autoconfigure/web/reactive/HttpHandlerAutoConfiguration$AnnotationConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.http.server.reactive.HttpHandler]: Factory method 'httpHandler' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webHandler' defined in class path resource [org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfiguration$EnableWebFluxConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'routePredicateHandlerMapping' defined in class path resource [org/springframework/cloud/gateway/config/GatewayAutoConfiguration.class]: Unsatisfied dependency expressed through method 'routePredicateHandlerMapping' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'filteringWebHandler' defined in class path resource [org/springframework/cloud/gateway/config/GatewayAutoConfiguration.class]: Unsatisfied dependency expressed through method 'filteringWebHandler' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'throttleGatewayFilterFactory' defined in class path resource [com/blueskykong/gateway/enhanced/config/ServiceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.blueskykong.gateway.enhanced.filter.ThrottleGatewayFilterFactory]: Factory method 'throttleGatewayFilterFactory' threw exception; nested exception is com.blueskykong.gateway.enhanced.exception.ServerException: PROPERTY_NOT_INITIAL

How to start the module of gateway-enhanced?I have been runned "mvn clean install".

网关认证授权

LZ公司是这样实现的吗?我们正在做微服务的认证授权,我现在的方案是通过继承ZuulFilter拦截器来实现,然后通过feign去调用auth-server服务进行鉴权和认证,auth-server是基于JWT+security来进行认证授权的。这样是否可行呢?

报版本不对

博主,你好 我报这个错误,没有这个包,是不是哪里依赖版本不对呢
[ERROR] Failed to execute goal on project auth-server: Could not resolve dependencies for project org.springframework.boot:auth-server:jar:2.1.3.RELEASE: Could not find artifact org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:jar:2.1.0.M4 in central (http://maven.aliyun.com/nexus/content/groups/public) -> [Help 1]

Consider defining a bean named 'mvcHandlerMappingIntrospector' in your configuration.

C:\Java\jdk\jdk1.8\jdk1.8\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=50969 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3\lib\idea_rt.jar=50970:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\charsets.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\deploy.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\access-bridge-64.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\cldrdata.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\dnsns.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\jaccess.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\jfxrt.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\localedata.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\nashorn.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\sunec.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\sunmscapi.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\sunpkcs11.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\zipfs.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\javaws.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\jce.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\jfr.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\jfxswt.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\jsse.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\management-agent.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\plugin.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\resources.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\rt.jar;E:\company\information\rjkaifa\IntellJ IDEA Porject\learningMaterials\security\microservice-integration-master\auth-server\target\classes;F:\maven\repos\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.2.1\mybatis-spring-boot-starter-1.2.1.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter\1.5.13.RELEASE\spring-boot-starter-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot\1.5.13.RELEASE\spring-boot-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-autoconfigure\1.5.13.RELEASE\spring-boot-autoconfigure-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-logging\1.5.13.RELEASE\spring-boot-starter-logging-1.5.13.RELEASE.jar;F:\maven\repos\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;F:\maven\repos\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;F:\maven\repos\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;F:\maven\repos\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;F:\maven\repos\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;F:\maven\repos\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-jdbc\1.5.13.RELEASE\spring-boot-starter-jdbc-1.5.13.RELEASE.jar;F:\maven\repos\org\apache\tomcat\tomcat-jdbc\8.5.31\tomcat-jdbc-8.5.31.jar;F:\maven\repos\org\apache\tomcat\tomcat-juli\8.5.31\tomcat-juli-8.5.31.jar;F:\maven\repos\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.2.1\mybatis-spring-boot-autoconfigure-1.2.1.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-tomcat\1.5.13.RELEASE\spring-boot-starter-tomcat-1.5.13.RELEASE.jar;F:\maven\repos\org\apache\tomcat\embed\tomcat-embed-core\8.5.31\tomcat-embed-core-8.5.31.jar;F:\maven\repos\org\apache\tomcat\tomcat-annotations-api\8.5.31\tomcat-annotations-api-8.5.31.jar;F:\maven\repos\org\apache\tomcat\embed\tomcat-embed-el\8.5.31\tomcat-embed-el-8.5.31.jar;F:\maven\repos\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.31\tomcat-embed-websocket-8.5.31.jar;F:\maven\repos\com\auth0\java-jwt\2.2.0\java-jwt-2.2.0.jar;F:\maven\repos\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-security\1.2.1.RELEASE\spring-cloud-starter-security-1.2.1.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter\1.3.4.RELEASE\spring-cloud-starter-1.3.4.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-context\1.3.4.RELEASE\spring-cloud-context-1.3.4.RELEASE.jar;F:\maven\repos\org\springframework\security\spring-security-crypto\4.2.6.RELEASE\spring-security-crypto-4.2.6.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-commons\1.3.4.RELEASE\spring-cloud-commons-1.3.4.RELEASE.jar;F:\maven\repos\org\springframework\security\spring-security-rsa\1.0.3.RELEASE\spring-security-rsa-1.0.3.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-security\1.2.3.RELEASE\spring-cloud-security-1.2.3.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-security\1.5.13.RELEASE\spring-boot-starter-security-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-oauth2\1.2.1.RELEASE\spring-cloud-starter-oauth2-1.2.1.RELEASE.jar;F:\maven\repos\org\springframework\security\oauth\spring-security-oauth2\2.0.15.RELEASE\spring-security-oauth2-2.0.15.RELEASE.jar;F:\maven\repos\org\springframework\spring-context\4.3.8.RELEASE\spring-context-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\security\spring-security-core\4.2.6.RELEASE\spring-security-core-4.2.6.RELEASE.jar;F:\maven\repos\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;F:\maven\repos\org\springframework\security\spring-security-config\4.2.6.RELEASE\spring-security-config-4.2.6.RELEASE.jar;F:\maven\repos\org\springframework\security\spring-security-web\4.2.6.RELEASE\spring-security-web-4.2.6.RELEASE.jar;F:\maven\repos\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;F:\maven\repos\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;F:\maven\repos\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;F:\maven\repos\org\springframework\security\spring-security-jwt\1.0.9.RELEASE\spring-security-jwt-1.0.9.RELEASE.jar;F:\maven\repos\org\bouncycastle\bcpkix-jdk15on\1.56\bcpkix-jdk15on-1.56.jar;F:\maven\repos\org\bouncycastle\bcprov-jdk15on\1.56\bcprov-jdk15on-1.56.jar;F:\maven\repos\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar;F:\maven\repos\org\apache\commons\commons-dbcp2\2.1.1\commons-dbcp2-2.1.1.jar;F:\maven\repos\org\apache\commons\commons-pool2\2.4.3\commons-pool2-2.4.3.jar;F:\maven\repos\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;F:\maven\repos\org\springframework\spring-jdbc\4.3.8.RELEASE\spring-jdbc-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-beans\4.3.8.RELEASE\spring-beans-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-core\4.3.8.RELEASE\spring-core-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-tx\4.3.8.RELEASE\spring-tx-4.3.8.RELEASE.jar;F:\maven\repos\org\mybatis\mybatis\3.4.1\mybatis-3.4.1.jar;F:\maven\repos\org\mybatis\mybatis-spring\1.3.0\mybatis-spring-1.3.0.jar;F:\maven\repos\org\springframework\spring-aspects\4.3.8.RELEASE\spring-aspects-4.3.8.RELEASE.jar;F:\maven\repos\org\aspectj\aspectjweaver\1.8.13\aspectjweaver-1.8.13.jar;F:\maven\repos\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;F:\maven\repos\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;F:\maven\repos\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;F:\maven\repos\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;F:\maven\repos\net\sf\oval\oval\1.85\oval-1.85.jar;F:\maven\repos\io\jsonwebtoken\jjwt\0.6.0\jjwt-0.6.0.jar;F:\maven\repos\com\fasterxml\jackson\core\jackson-databind\2.8.11.1\jackson-databind-2.8.11.1.jar;F:\maven\repos\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;F:\maven\repos\com\fasterxml\jackson\core\jackson-core\2.8.11\jackson-core-2.8.11.jar;F:\maven\repos\com\alibaba\fastjson\1.2.21\fastjson-1.2.21.jar;F:\maven\repos\com\zaxxer\HikariCP\2.5.1\HikariCP-2.5.1.jar;F:\maven\repos\cn\apiclub\tool\simplecaptcha\1.2.2\simplecaptcha-1.2.2.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\1.4.5.RELEASE\spring-cloud-starter-netflix-eureka-client-1.4.5.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-netflix-core\1.4.5.RELEASE\spring-cloud-netflix-core-1.4.5.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-netflix-eureka-client\1.4.5.RELEASE\spring-cloud-netflix-eureka-client-1.4.5.RELEASE.jar;F:\maven\repos\com\netflix\eureka\eureka-client\1.7.2\eureka-client-1.7.2.jar;F:\maven\repos\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;F:\maven\repos\stax\stax-api\1.0.1\stax-api-1.0.1.jar;F:\maven\repos\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;F:\maven\repos\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;F:\maven\repos\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;F:\maven\repos\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;F:\maven\repos\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;F:\maven\repos\antlr\antlr\2.7.7\antlr-2.7.7.jar;F:\maven\repos\com\google\code\gson\gson\2.8.4\gson-2.8.4.jar;F:\maven\repos\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;F:\maven\repos\com\netflix\archaius\archaius-core\0.7.4\archaius-core-0.7.4.jar;F:\maven\repos\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;F:\maven\repos\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;F:\maven\repos\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;F:\maven\repos\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;F:\maven\repos\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;F:\maven\repos\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;F:\maven\repos\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;F:\maven\repos\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;F:\maven\repos\com\google\inject\guice\4.1.0\guice-4.1.0.jar;F:\maven\repos\com\netflix\eureka\eureka-core\1.7.2\eureka-core-1.7.2.jar;F:\maven\repos\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;F:\maven\repos\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;F:\maven\repos\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-archaius\1.4.5.RELEASE\spring-cloud-starter-netflix-archaius-1.4.5.RELEASE.jar;F:\maven\repos\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;F:\maven\repos\com\google\guava\guava\18.0\guava-18.0.jar;F:\maven\repos\com\netflix\ribbon\ribbon-eureka\2.2.5\ribbon-eureka-2.2.5.jar;F:\maven\repos\com\thoughtworks\xstream\xstream\1.4.10\xstream-1.4.10.jar;F:\maven\repos\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;F:\maven\repos\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-actuator\1.5.13.RELEASE\spring-boot-starter-actuator-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-actuator\1.5.13.RELEASE\spring-boot-actuator-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-web\1.5.13.RELEASE\spring-boot-starter-web-1.5.13.RELEASE.jar;F:\maven\repos\org\hibernate\hibernate-validator\5.3.6.Final\hibernate-validator-5.3.6.Final.jar;F:\maven\repos\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;F:\maven\repos\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;F:\maven\repos\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;F:\maven\repos\org\springframework\spring-web\4.3.8.RELEASE\spring-web-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-aop\4.3.8.RELEASE\spring-aop-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-webmvc\4.3.8.RELEASE\spring-webmvc-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-expression\4.3.8.RELEASE\spring-expression-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-feign\1.4.5.RELEASE\spring-cloud-starter-feign-1.4.5.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-openfeign\1.4.5.RELEASE\spring-cloud-starter-openfeign-1.4.5.RELEASE.jar;F:\maven\repos\io\github\openfeign\feign-core\9.5.0\feign-core-9.5.0.jar;F:\maven\repos\org\jvnet\animal-sniffer-annotation\1.0\animal-sniffer-annotation-1.0.jar;F:\maven\repos\io\github\openfeign\feign-slf4j\9.5.0\feign-slf4j-9.5.0.jar;F:\maven\repos\io\github\openfeign\feign-hystrix\9.5.0\feign-hystrix-9.5.0.jar;F:\maven\repos\org\projectlombok\lombok\1.16.20\lombok-1.16.20.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-jersey\1.5.13.RELEASE\spring-boot-starter-jersey-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-validation\1.5.13.RELEASE\spring-boot-starter-validation-1.5.13.RELEASE.jar;F:\maven\repos\org\glassfish\jersey\core\jersey-server\2.25.1\jersey-server-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\core\jersey-common\2.25.1\jersey-common-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\bundles\repackaged\jersey-guava\2.25.1\jersey-guava-2.25.1.jar;F:\maven\repos\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar;F:\maven\repos\org\glassfish\jersey\core\jersey-client\2.25.1\jersey-client-2.25.1.jar;F:\maven\repos\javax\ws\rs\javax.ws.rs-api\2.0.1\javax.ws.rs-api-2.0.1.jar;F:\maven\repos\org\glassfish\jersey\media\jersey-media-jaxb\2.25.1\jersey-media-jaxb-2.25.1.jar;F:\maven\repos\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar;F:\maven\repos\org\glassfish\hk2\hk2-api\2.5.0-b32\hk2-api-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-utils\2.5.0-b32\hk2-utils-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\external\aopalliance-repackaged\2.5.0-b32\aopalliance-repackaged-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\external\javax.inject\2.5.0-b32\javax.inject-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-locator\2.5.0-b32\hk2-locator-2.5.0-b32.jar;F:\maven\repos\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;F:\maven\repos\org\glassfish\jersey\containers\jersey-container-servlet-core\2.25.1\jersey-container-servlet-core-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\containers\jersey-container-servlet\2.25.1\jersey-container-servlet-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\ext\jersey-bean-validation\2.25.1\jersey-bean-validation-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\ext\jersey-spring3\2.25.1\jersey-spring3-2.25.1.jar;F:\maven\repos\org\glassfish\hk2\hk2\2.5.0-b32\hk2-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\config-types\2.5.0-b32\config-types-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-core\2.5.0-b32\hk2-core-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-config\2.5.0-b32\hk2-config-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-runlevel\2.5.0-b32\hk2-runlevel-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\class-model\2.5.0-b32\class-model-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\external\asm-all-repackaged\2.5.0-b32\asm-all-repackaged-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\spring-bridge\2.5.0-b32\spring-bridge-2.5.0-b32.jar;F:\maven\repos\org\glassfish\jersey\media\jersey-media-json-jackson\2.25.1\jersey-media-json-jackson-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\ext\jersey-entity-filtering\2.25.1\jersey-entity-filtering-2.25.1.jar;F:\maven\repos\com\fasterxml\jackson\jaxrs\jackson-jaxrs-base\2.8.11\jackson-jaxrs-base-2.8.11.jar;F:\maven\repos\com\fasterxml\jackson\jaxrs\jackson-jaxrs-json-provider\2.8.11\jackson-jaxrs-json-provider-2.8.11.jar;F:\maven\repos\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.8.11\jackson-module-jaxb-annotations-2.8.11.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-hystrix\1.4.5.RELEASE\spring-cloud-starter-hystrix-1.4.5.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-hystrix\1.4.5.RELEASE\spring-cloud-starter-netflix-hystrix-1.4.5.RELEASE.jar;F:\maven\repos\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;F:\maven\repos\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;F:\maven\repos\com\netflix\hystrix\hystrix-metrics-event-stream\1.5.12\hystrix-metrics-event-stream-1.5.12.jar;F:\maven\repos\com\netflix\hystrix\hystrix-serialization\1.5.12\hystrix-serialization-1.5.12.jar;F:\maven\repos\com\fasterxml\jackson\module\jackson-module-afterburner\2.8.11\jackson-module-afterburner-2.8.11.jar;F:\maven\repos\com\netflix\hystrix\hystrix-javanica\1.5.12\hystrix-javanica-1.5.12.jar;F:\maven\repos\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\1.4.5.RELEASE\spring-cloud-starter-netflix-ribbon-1.4.5.RELEASE.jar;F:\maven\repos\com\netflix\ribbon\ribbon\2.2.5\ribbon-2.2.5.jar;F:\maven\repos\com\netflix\ribbon\ribbon-transport\2.2.5\ribbon-transport-2.2.5.jar;F:\maven\repos\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;F:\maven\repos\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;F:\maven\repos\javax\inject\javax.inject\1\javax.inject-1.jar;F:\maven\repos\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;F:\maven\repos\io\netty\netty-codec-http\4.0.27.Final\netty-codec-http-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-codec\4.0.27.Final\netty-codec-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-handler\4.0.27.Final\netty-handler-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-transport-native-epoll\4.0.27.Final\netty-transport-native-epoll-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-common\4.0.27.Final\netty-common-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-buffer\4.0.27.Final\netty-buffer-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-transport\4.0.27.Final\netty-transport-4.0.27.Final.jar;F:\maven\repos\com\netflix\ribbon\ribbon-core\2.2.5\ribbon-core-2.2.5.jar;F:\maven\repos\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;F:\maven\repos\com\netflix\ribbon\ribbon-httpclient\2.2.5\ribbon-httpclient-2.2.5.jar;F:\maven\repos\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;F:\maven\repos\com\netflix\ribbon\ribbon-loadbalancer\2.2.5\ribbon-loadbalancer-2.2.5.jar;F:\maven\repos\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;F:\maven\repos\io\reactivex\rxjava\1.2.0\rxjava-1.2.0.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-zuul\1.4.5.RELEASE\spring-cloud-starter-netflix-zuul-1.4.5.RELEASE.jar;F:\maven\repos\com\netflix\zuul\zuul-core\1.3.1\zuul-core-1.3.1.jar" com.blueskykong.auth.AuthApplication
2018-10-09 09:31:58.519 INFO 6952 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@2cdd0d4b: startup date [Tue Oct 09 09:31:58 CST 2018]; root of context hierarchy
2018-10-09 09:31:58.997 INFO 6952 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-10-09 09:31:59.059 INFO 6952 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$1dd555fe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot :: (v1.5.13.RELEASE)

2018-10-09 09:32:00.980 INFO 6952 --- [ main] com.blueskykong.auth.AuthApplication : The following profiles are active: default
2018-10-09 09:32:01.018 INFO 6952 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5c10f1c3: startup date [Tue Oct 09 09:32:01 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@2cdd0d4b
2018-10-09 09:32:02.592 INFO 6952 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'clientDetailsService' with a different definition: replacing [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in class path resource [org/springframework/security/oauth2/config/annotation/configuration/ClientDetailsServiceConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=OAuth2Config; factoryMethodName=clientDetailsService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [com/blueskykong/auth/config/oauth/OAuth2Config.class]]
2018-10-09 09:32:02.975 INFO 6952 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'requestContextFilter' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration; factoryMethodName=requestContextFilter; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.class]] with [Root bean: class [org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=requestContextFilter; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
2018-10-09 09:32:03.681 INFO 6952 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=5a402669-0240-33e5-9dd2-25f643d3690e
2018-10-09 09:32:03.697 INFO 6952 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-10-09 09:32:03.725 INFO 6952 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.blueskykong.auth.client.feign.UserClient' of type [org.springframework.cloud.netflix.feign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-09 09:32:03.898 INFO 6952 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'security.oauth2.client-org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties' of type [org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-09 09:32:03.906 INFO 6952 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.security.oauth2.OAuth2AutoConfiguration' of type [org.springframework.boot.autoconfigure.security.oauth2.OAuth2AutoConfiguration$$EnhancerBySpringCGLIB$$b9050f01] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-09 09:32:03.922 INFO 6952 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'resourceServerProperties' of type [org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-09 09:32:03.927 INFO 6952 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$1dd555fe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-09 09:32:04.330 INFO 6952 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9091 (http)
2018-10-09 09:32:04.357 INFO 6952 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2018-10-09 09:32:04.358 INFO 6952 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.31
2018-10-09 09:32:04.706 INFO 6952 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2018-10-09 09:32:04.707 INFO 6952 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3689 ms
2018-10-09 09:32:05.506 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/]
2018-10-09 09:32:05.506 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/
]
2018-10-09 09:32:05.506 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/]
2018-10-09 09:32:05.506 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/
]
2018-10-09 09:32:05.506 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/]
2018-10-09 09:32:05.507 INFO 6952 --- [ost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/
]
2018-10-09 09:32:05.508 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/]
2018-10-09 09:32:05.508 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/
]
2018-10-09 09:32:05.508 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'com.blueskykong.auth.config.JerseyConfig' to [/api/*]
2018-10-09 09:32:05.509 INFO 6952 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2018-10-09 09:32:05.588 INFO 6952 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@5a75ec37: startup date [Tue Oct 09 09:32:05 CST 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5c10f1c3
2018-10-09 09:32:05.620 INFO 6952 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-10-09 09:32:06.758 INFO 6952 --- [ main] ResourceFilterInvocationDefinitionSource : afterPropertiesSet
2018-10-09 09:32:07.024 WARN 6952 --- [ main] o.s.s.o.p.t.s.JwtAccessTokenConverter : Unable to create an RSA verifier from verifierKey (ignoreable if using MAC)
2018-10-09 09:32:07.149 INFO 6952 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/authorize],methods=[POST],params=[user_oauth_approval]}" onto public org.springframework.web.servlet.View org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.approveOrDeny(java.util.Map<java.lang.String, java.lang.String>,java.util.Map<java.lang.String, ?>,org.springframework.web.bind.support.SessionStatus,java.security.Principal)
2018-10-09 09:32:07.150 INFO 6952 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/authorize]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.authorize(java.util.Map<java.lang.String, java.lang.Object>,java.util.Map<java.lang.String, java.lang.String>,org.springframework.web.bind.support.SessionStatus,java.security.Principal)
2018-10-09 09:32:07.151 INFO 6952 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/token],methods=[GET]}" onto public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.OAuth2AccessToken> org.springframework.security.oauth2.provider.endpoint.TokenEndpoint.getAccessToken(java.security.Principal,java.util.Map<java.lang.String, java.lang.String>) throws org.springframework.web.HttpRequestMethodNotSupportedException
2018-10-09 09:32:07.151 INFO 6952 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/token],methods=[POST]}" onto public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.OAuth2AccessToken> org.springframework.security.oauth2.provider.endpoint.TokenEndpoint.postAccessToken(java.security.Principal,java.util.Map<java.lang.String, java.lang.String>) throws org.springframework.web.HttpRequestMethodNotSupportedException
2018-10-09 09:32:07.152 INFO 6952 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/check_token]}" onto public java.util.Map<java.lang.String, ?> org.springframework.security.oauth2.provider.endpoint.CheckTokenEndpoint.checkToken(java.lang.String)
2018-10-09 09:32:07.152 INFO 6952 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/confirm_access]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.security.oauth2.provider.endpoint.WhitelabelApprovalEndpoint.getAccessConfirmation(java.util.Map<java.lang.String, java.lang.Object>,javax.servlet.http.HttpServletRequest) throws java.lang.Exception
2018-10-09 09:32:07.152 INFO 6952 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/error]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.security.oauth2.provider.endpoint.WhitelabelErrorEndpoint.handleError(javax.servlet.http.HttpServletRequest)
2018-10-09 09:32:07.158 INFO 6952 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/token_key],methods=[GET]}" onto public java.util.Map<java.lang.String, java.lang.String> org.springframework.security.oauth2.provider.endpoint.TokenKeyEndpoint.getKey(java.security.Principal)
2018-10-09 09:32:07.286 WARN 6952 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2018-10-09 09:32:07.286 INFO 6952 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-10-09 09:32:07.297 WARN 6952 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2018-10-09 09:32:07.298 INFO 6952 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-10-09 09:32:07.492 INFO 6952 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5c10f1c3: startup date [Tue Oct 09 09:32:01 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@2cdd0d4b
2018-10-09 09:32:07.551 INFO 6952 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2018-10-09 09:32:07.551 INFO 6952 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-10-09 09:32:07.590 INFO 6952 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-09 09:32:07.590 INFO 6952 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/
] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-09 09:32:07.659 INFO 6952 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [//favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-09 09:32:09.226 INFO 6952 --- [ main] o.s.cloud.commons.util.InetUtils : Cannot determine local hostname
2018-10-09 09:32:10.791 INFO 6952 --- [ main] o.s.cloud.commons.util.InetUtils : Cannot determine local hostname
2018-10-09 09:32:11.155 INFO 6952 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/css/
'], Ant [pattern='/js/'], Ant [pattern='/images/'], Ant [pattern='/webjars/'], Ant [pattern='//favicon.ico'], Ant [pattern='/error']]], []
2018-10-09 09:32:11.258 INFO 6952 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/oauth/token'], Ant [pattern='/oauth/token_key'], Ant [pattern='/oauth/check_token']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3193e21d, org.springframework.security.web.context.SecurityContextPersistenceFilter@c11332b, org.springframework.security.web.header.HeaderWriterFilter@5c573229, org.springframework.security.web.authentication.logout.LogoutFilter@27bb74e1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@51132514, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3005623b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@270f28cf, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@79604abe, org.springframework.security.web.session.SessionManagementFilter@156cfa20, org.springframework.security.web.access.ExceptionTranslationFilter@577f9dfd, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2905b568]

2018-10-09 09:32:11.263 WARN 6952 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'mvcHandlerMappingIntrospector' available: A Bean named mvcHandlerMappingIntrospector of type org.springframework.web.servlet.handler.HandlerMappingIntrospector is required to use MvcRequestMatcher. Please ensure Spring Security & Spring MVC are configured in a shared ApplicationContext.

2018-10-09 09:32:11.266 INFO 6952 --- [ main] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@5a75ec37: startup date [Tue Oct 09 09:32:05 CST 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5c10f1c3
2018-10-09 09:32:11.267 INFO 6952 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2018-10-09 09:32:11.306 INFO 6952 --- [ main] utoConfigurationReportLoggingInitializer :

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-10-09 09:32:11.427 ERROR 6952 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean named 'mvcHandlerMappingIntrospector' that could not be found.

Action:

Consider defining a bean named 'mvcHandlerMappingIntrospector' in your configuration.

Process finished with exit code 1

关于网关auth

看了一下这个项目的技术选型,都是很好的
唯一有个不明白的地方,为什么不用JWT?
按照框架图来看,是不是用户每次请求,不管登录与否,都会调用到auth系统?
如果是这样,那会不会造成auth系统负载过高?成为整个系统的瓶颈?

Consider defining a bean named 'mvcHandlerMappingIntrospector' in your configuration.

C:\Java\jdk\jdk1.8\jdk1.8\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=52003 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3\lib\idea_rt.jar=52004:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\charsets.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\deploy.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\access-bridge-64.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\cldrdata.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\dnsns.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\jaccess.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\jfxrt.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\localedata.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\nashorn.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\sunec.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\sunmscapi.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\sunpkcs11.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\ext\zipfs.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\javaws.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\jce.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\jfr.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\jfxswt.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\jsse.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\management-agent.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\plugin.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\resources.jar;C:\Java\jdk\jdk1.8\jdk1.8\jre\lib\rt.jar;E:\company\information\rjkaifa\IntellJ IDEA Porject\learningMaterials\security\microservice-integration-master\auth-server\target\classes;F:\maven\repos\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.2.1\mybatis-spring-boot-starter-1.2.1.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter\1.5.13.RELEASE\spring-boot-starter-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot\1.5.13.RELEASE\spring-boot-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-autoconfigure\1.5.13.RELEASE\spring-boot-autoconfigure-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-logging\1.5.13.RELEASE\spring-boot-starter-logging-1.5.13.RELEASE.jar;F:\maven\repos\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;F:\maven\repos\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;F:\maven\repos\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;F:\maven\repos\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;F:\maven\repos\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;F:\maven\repos\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-jdbc\1.5.13.RELEASE\spring-boot-starter-jdbc-1.5.13.RELEASE.jar;F:\maven\repos\org\apache\tomcat\tomcat-jdbc\8.5.31\tomcat-jdbc-8.5.31.jar;F:\maven\repos\org\apache\tomcat\tomcat-juli\8.5.31\tomcat-juli-8.5.31.jar;F:\maven\repos\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.2.1\mybatis-spring-boot-autoconfigure-1.2.1.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-tomcat\1.5.13.RELEASE\spring-boot-starter-tomcat-1.5.13.RELEASE.jar;F:\maven\repos\org\apache\tomcat\embed\tomcat-embed-core\8.5.31\tomcat-embed-core-8.5.31.jar;F:\maven\repos\org\apache\tomcat\tomcat-annotations-api\8.5.31\tomcat-annotations-api-8.5.31.jar;F:\maven\repos\org\apache\tomcat\embed\tomcat-embed-el\8.5.31\tomcat-embed-el-8.5.31.jar;F:\maven\repos\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.31\tomcat-embed-websocket-8.5.31.jar;F:\maven\repos\com\auth0\java-jwt\2.2.0\java-jwt-2.2.0.jar;F:\maven\repos\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-security\1.2.1.RELEASE\spring-cloud-starter-security-1.2.1.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter\1.3.4.RELEASE\spring-cloud-starter-1.3.4.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-context\1.3.4.RELEASE\spring-cloud-context-1.3.4.RELEASE.jar;F:\maven\repos\org\springframework\security\spring-security-crypto\4.2.6.RELEASE\spring-security-crypto-4.2.6.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-commons\1.3.4.RELEASE\spring-cloud-commons-1.3.4.RELEASE.jar;F:\maven\repos\org\springframework\security\spring-security-rsa\1.0.3.RELEASE\spring-security-rsa-1.0.3.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-security\1.2.3.RELEASE\spring-cloud-security-1.2.3.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-security\1.5.13.RELEASE\spring-boot-starter-security-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-oauth2\1.2.1.RELEASE\spring-cloud-starter-oauth2-1.2.1.RELEASE.jar;F:\maven\repos\org\springframework\security\oauth\spring-security-oauth2\2.0.15.RELEASE\spring-security-oauth2-2.0.15.RELEASE.jar;F:\maven\repos\org\springframework\spring-context\4.3.8.RELEASE\spring-context-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\security\spring-security-core\4.2.6.RELEASE\spring-security-core-4.2.6.RELEASE.jar;F:\maven\repos\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;F:\maven\repos\org\springframework\security\spring-security-config\4.2.6.RELEASE\spring-security-config-4.2.6.RELEASE.jar;F:\maven\repos\org\springframework\security\spring-security-web\4.2.6.RELEASE\spring-security-web-4.2.6.RELEASE.jar;F:\maven\repos\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;F:\maven\repos\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;F:\maven\repos\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;F:\maven\repos\org\springframework\security\spring-security-jwt\1.0.9.RELEASE\spring-security-jwt-1.0.9.RELEASE.jar;F:\maven\repos\org\bouncycastle\bcpkix-jdk15on\1.56\bcpkix-jdk15on-1.56.jar;F:\maven\repos\org\bouncycastle\bcprov-jdk15on\1.56\bcprov-jdk15on-1.56.jar;F:\maven\repos\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar;F:\maven\repos\org\apache\commons\commons-dbcp2\2.1.1\commons-dbcp2-2.1.1.jar;F:\maven\repos\org\apache\commons\commons-pool2\2.4.3\commons-pool2-2.4.3.jar;F:\maven\repos\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;F:\maven\repos\org\springframework\spring-jdbc\4.3.8.RELEASE\spring-jdbc-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-beans\4.3.8.RELEASE\spring-beans-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-core\4.3.8.RELEASE\spring-core-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-tx\4.3.8.RELEASE\spring-tx-4.3.8.RELEASE.jar;F:\maven\repos\org\mybatis\mybatis\3.4.1\mybatis-3.4.1.jar;F:\maven\repos\org\mybatis\mybatis-spring\1.3.0\mybatis-spring-1.3.0.jar;F:\maven\repos\org\springframework\spring-aspects\4.3.8.RELEASE\spring-aspects-4.3.8.RELEASE.jar;F:\maven\repos\org\aspectj\aspectjweaver\1.8.13\aspectjweaver-1.8.13.jar;F:\maven\repos\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;F:\maven\repos\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;F:\maven\repos\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;F:\maven\repos\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;F:\maven\repos\net\sf\oval\oval\1.85\oval-1.85.jar;F:\maven\repos\io\jsonwebtoken\jjwt\0.6.0\jjwt-0.6.0.jar;F:\maven\repos\com\fasterxml\jackson\core\jackson-databind\2.8.11.1\jackson-databind-2.8.11.1.jar;F:\maven\repos\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;F:\maven\repos\com\fasterxml\jackson\core\jackson-core\2.8.11\jackson-core-2.8.11.jar;F:\maven\repos\com\alibaba\fastjson\1.2.21\fastjson-1.2.21.jar;F:\maven\repos\com\zaxxer\HikariCP\2.5.1\HikariCP-2.5.1.jar;F:\maven\repos\cn\apiclub\tool\simplecaptcha\1.2.2\simplecaptcha-1.2.2.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\1.4.5.RELEASE\spring-cloud-starter-netflix-eureka-client-1.4.5.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-netflix-core\1.4.5.RELEASE\spring-cloud-netflix-core-1.4.5.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-netflix-eureka-client\1.4.5.RELEASE\spring-cloud-netflix-eureka-client-1.4.5.RELEASE.jar;F:\maven\repos\com\netflix\eureka\eureka-client\1.7.2\eureka-client-1.7.2.jar;F:\maven\repos\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;F:\maven\repos\stax\stax-api\1.0.1\stax-api-1.0.1.jar;F:\maven\repos\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;F:\maven\repos\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;F:\maven\repos\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;F:\maven\repos\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;F:\maven\repos\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;F:\maven\repos\antlr\antlr\2.7.7\antlr-2.7.7.jar;F:\maven\repos\com\google\code\gson\gson\2.8.4\gson-2.8.4.jar;F:\maven\repos\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;F:\maven\repos\com\netflix\archaius\archaius-core\0.7.4\archaius-core-0.7.4.jar;F:\maven\repos\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;F:\maven\repos\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;F:\maven\repos\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;F:\maven\repos\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;F:\maven\repos\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;F:\maven\repos\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;F:\maven\repos\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;F:\maven\repos\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;F:\maven\repos\com\google\inject\guice\4.1.0\guice-4.1.0.jar;F:\maven\repos\com\netflix\eureka\eureka-core\1.7.2\eureka-core-1.7.2.jar;F:\maven\repos\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;F:\maven\repos\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;F:\maven\repos\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-archaius\1.4.5.RELEASE\spring-cloud-starter-netflix-archaius-1.4.5.RELEASE.jar;F:\maven\repos\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;F:\maven\repos\com\google\guava\guava\18.0\guava-18.0.jar;F:\maven\repos\com\netflix\ribbon\ribbon-eureka\2.2.5\ribbon-eureka-2.2.5.jar;F:\maven\repos\com\thoughtworks\xstream\xstream\1.4.10\xstream-1.4.10.jar;F:\maven\repos\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;F:\maven\repos\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-actuator\1.5.13.RELEASE\spring-boot-starter-actuator-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-actuator\1.5.13.RELEASE\spring-boot-actuator-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-web\1.5.13.RELEASE\spring-boot-starter-web-1.5.13.RELEASE.jar;F:\maven\repos\org\hibernate\hibernate-validator\5.3.6.Final\hibernate-validator-5.3.6.Final.jar;F:\maven\repos\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;F:\maven\repos\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;F:\maven\repos\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;F:\maven\repos\org\springframework\spring-web\4.3.8.RELEASE\spring-web-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-aop\4.3.8.RELEASE\spring-aop-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-webmvc\4.3.8.RELEASE\spring-webmvc-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\spring-expression\4.3.8.RELEASE\spring-expression-4.3.8.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-feign\1.4.5.RELEASE\spring-cloud-starter-feign-1.4.5.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-openfeign\1.4.5.RELEASE\spring-cloud-starter-openfeign-1.4.5.RELEASE.jar;F:\maven\repos\io\github\openfeign\feign-core\9.5.0\feign-core-9.5.0.jar;F:\maven\repos\org\jvnet\animal-sniffer-annotation\1.0\animal-sniffer-annotation-1.0.jar;F:\maven\repos\io\github\openfeign\feign-slf4j\9.5.0\feign-slf4j-9.5.0.jar;F:\maven\repos\io\github\openfeign\feign-hystrix\9.5.0\feign-hystrix-9.5.0.jar;F:\maven\repos\org\projectlombok\lombok\1.16.20\lombok-1.16.20.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-jersey\1.5.13.RELEASE\spring-boot-starter-jersey-1.5.13.RELEASE.jar;F:\maven\repos\org\springframework\boot\spring-boot-starter-validation\1.5.13.RELEASE\spring-boot-starter-validation-1.5.13.RELEASE.jar;F:\maven\repos\org\glassfish\jersey\core\jersey-server\2.25.1\jersey-server-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\core\jersey-common\2.25.1\jersey-common-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\bundles\repackaged\jersey-guava\2.25.1\jersey-guava-2.25.1.jar;F:\maven\repos\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar;F:\maven\repos\org\glassfish\jersey\core\jersey-client\2.25.1\jersey-client-2.25.1.jar;F:\maven\repos\javax\ws\rs\javax.ws.rs-api\2.0.1\javax.ws.rs-api-2.0.1.jar;F:\maven\repos\org\glassfish\jersey\media\jersey-media-jaxb\2.25.1\jersey-media-jaxb-2.25.1.jar;F:\maven\repos\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar;F:\maven\repos\org\glassfish\hk2\hk2-api\2.5.0-b32\hk2-api-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-utils\2.5.0-b32\hk2-utils-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\external\aopalliance-repackaged\2.5.0-b32\aopalliance-repackaged-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\external\javax.inject\2.5.0-b32\javax.inject-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-locator\2.5.0-b32\hk2-locator-2.5.0-b32.jar;F:\maven\repos\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;F:\maven\repos\org\glassfish\jersey\containers\jersey-container-servlet-core\2.25.1\jersey-container-servlet-core-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\containers\jersey-container-servlet\2.25.1\jersey-container-servlet-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\ext\jersey-bean-validation\2.25.1\jersey-bean-validation-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\ext\jersey-spring3\2.25.1\jersey-spring3-2.25.1.jar;F:\maven\repos\org\glassfish\hk2\hk2\2.5.0-b32\hk2-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\config-types\2.5.0-b32\config-types-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-core\2.5.0-b32\hk2-core-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-config\2.5.0-b32\hk2-config-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\hk2-runlevel\2.5.0-b32\hk2-runlevel-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\class-model\2.5.0-b32\class-model-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\external\asm-all-repackaged\2.5.0-b32\asm-all-repackaged-2.5.0-b32.jar;F:\maven\repos\org\glassfish\hk2\spring-bridge\2.5.0-b32\spring-bridge-2.5.0-b32.jar;F:\maven\repos\org\glassfish\jersey\media\jersey-media-json-jackson\2.25.1\jersey-media-json-jackson-2.25.1.jar;F:\maven\repos\org\glassfish\jersey\ext\jersey-entity-filtering\2.25.1\jersey-entity-filtering-2.25.1.jar;F:\maven\repos\com\fasterxml\jackson\jaxrs\jackson-jaxrs-base\2.8.11\jackson-jaxrs-base-2.8.11.jar;F:\maven\repos\com\fasterxml\jackson\jaxrs\jackson-jaxrs-json-provider\2.8.11\jackson-jaxrs-json-provider-2.8.11.jar;F:\maven\repos\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.8.11\jackson-module-jaxb-annotations-2.8.11.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-hystrix\1.4.5.RELEASE\spring-cloud-starter-hystrix-1.4.5.RELEASE.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-hystrix\1.4.5.RELEASE\spring-cloud-starter-netflix-hystrix-1.4.5.RELEASE.jar;F:\maven\repos\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;F:\maven\repos\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;F:\maven\repos\com\netflix\hystrix\hystrix-metrics-event-stream\1.5.12\hystrix-metrics-event-stream-1.5.12.jar;F:\maven\repos\com\netflix\hystrix\hystrix-serialization\1.5.12\hystrix-serialization-1.5.12.jar;F:\maven\repos\com\fasterxml\jackson\module\jackson-module-afterburner\2.8.11\jackson-module-afterburner-2.8.11.jar;F:\maven\repos\com\netflix\hystrix\hystrix-javanica\1.5.12\hystrix-javanica-1.5.12.jar;F:\maven\repos\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\1.4.5.RELEASE\spring-cloud-starter-netflix-ribbon-1.4.5.RELEASE.jar;F:\maven\repos\com\netflix\ribbon\ribbon\2.2.5\ribbon-2.2.5.jar;F:\maven\repos\com\netflix\ribbon\ribbon-transport\2.2.5\ribbon-transport-2.2.5.jar;F:\maven\repos\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;F:\maven\repos\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;F:\maven\repos\javax\inject\javax.inject\1\javax.inject-1.jar;F:\maven\repos\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;F:\maven\repos\io\netty\netty-codec-http\4.0.27.Final\netty-codec-http-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-codec\4.0.27.Final\netty-codec-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-handler\4.0.27.Final\netty-handler-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-transport-native-epoll\4.0.27.Final\netty-transport-native-epoll-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-common\4.0.27.Final\netty-common-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-buffer\4.0.27.Final\netty-buffer-4.0.27.Final.jar;F:\maven\repos\io\netty\netty-transport\4.0.27.Final\netty-transport-4.0.27.Final.jar;F:\maven\repos\com\netflix\ribbon\ribbon-core\2.2.5\ribbon-core-2.2.5.jar;F:\maven\repos\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;F:\maven\repos\com\netflix\ribbon\ribbon-httpclient\2.2.5\ribbon-httpclient-2.2.5.jar;F:\maven\repos\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;F:\maven\repos\com\netflix\ribbon\ribbon-loadbalancer\2.2.5\ribbon-loadbalancer-2.2.5.jar;F:\maven\repos\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;F:\maven\repos\io\reactivex\rxjava\1.2.0\rxjava-1.2.0.jar;F:\maven\repos\org\springframework\cloud\spring-cloud-starter-netflix-zuul\1.4.5.RELEASE\spring-cloud-starter-netflix-zuul-1.4.5.RELEASE.jar;F:\maven\repos\com\netflix\zuul\zuul-core\1.3.1\zuul-core-1.3.1.jar" com.blueskykong.auth.AuthApplication
2018-10-08 17:34:12.118 INFO 15176 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@2cdd0d4b: startup date [Mon Oct 08 17:34:12 CST 2018]; root of context hierarchy
2018-10-08 17:34:12.328 INFO 15176 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-10-08 17:34:12.379 INFO 15176 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$1dd555fe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot :: (v1.5.13.RELEASE)

2018-10-08 17:34:14.106 INFO 15176 --- [ main] com.blueskykong.auth.AuthApplication : The following profiles are active: default
2018-10-08 17:34:14.120 INFO 15176 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5c10f1c3: startup date [Mon Oct 08 17:34:14 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@2cdd0d4b
2018-10-08 17:34:14.942 INFO 15176 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'clientDetailsService' with a different definition: replacing [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in class path resource [org/springframework/security/oauth2/config/annotation/configuration/ClientDetailsServiceConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=OAuth2Config; factoryMethodName=clientDetailsService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [com/blueskykong/auth/config/oauth/OAuth2Config.class]]
2018-10-08 17:34:15.090 INFO 15176 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'requestContextFilter' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration; factoryMethodName=requestContextFilter; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.class]] with [Root bean: class [org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=requestContextFilter; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
2018-10-08 17:34:15.489 INFO 15176 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=5a402669-0240-33e5-9dd2-25f643d3690e
2018-10-08 17:34:15.505 INFO 15176 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-10-08 17:34:15.529 INFO 15176 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.blueskykong.auth.client.feign.UserClient' of type [org.springframework.cloud.netflix.feign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-08 17:34:15.651 INFO 15176 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'security.oauth2.client-org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties' of type [org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-08 17:34:15.657 INFO 15176 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.security.oauth2.OAuth2AutoConfiguration' of type [org.springframework.boot.autoconfigure.security.oauth2.OAuth2AutoConfiguration$$EnhancerBySpringCGLIB$$b9050f01] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-08 17:34:15.669 INFO 15176 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'resourceServerProperties' of type [org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-08 17:34:15.674 INFO 15176 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$1dd555fe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-10-08 17:34:15.912 INFO 15176 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9091 (http)
2018-10-08 17:34:15.936 INFO 15176 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2018-10-08 17:34:15.937 INFO 15176 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.31
2018-10-08 17:34:16.147 INFO 15176 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2018-10-08 17:34:16.147 INFO 15176 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2027 ms
2018-10-08 17:34:16.746 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/]
2018-10-08 17:34:16.747 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/
]
2018-10-08 17:34:16.747 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/]
2018-10-08 17:34:16.747 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/
]
2018-10-08 17:34:16.747 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/]
2018-10-08 17:34:16.747 INFO 15176 --- [ost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/
]
2018-10-08 17:34:16.747 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/]
2018-10-08 17:34:16.748 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/
]
2018-10-08 17:34:16.748 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'com.blueskykong.auth.config.JerseyConfig' to [/api/*]
2018-10-08 17:34:16.749 INFO 15176 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2018-10-08 17:34:16.823 INFO 15176 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@58867cd5: startup date [Mon Oct 08 17:34:16 CST 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5c10f1c3
2018-10-08 17:34:16.841 INFO 15176 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-10-08 17:34:17.815 INFO 15176 --- [ main] ResourceFilterInvocationDefinitionSource : afterPropertiesSet
2018-10-08 17:34:17.971 WARN 15176 --- [ main] o.s.s.o.p.t.s.JwtAccessTokenConverter : Unable to create an RSA verifier from verifierKey (ignoreable if using MAC)
2018-10-08 17:34:18.038 INFO 15176 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/authorize],methods=[POST],params=[user_oauth_approval]}" onto public org.springframework.web.servlet.View org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.approveOrDeny(java.util.Map<java.lang.String, java.lang.String>,java.util.Map<java.lang.String, ?>,org.springframework.web.bind.support.SessionStatus,java.security.Principal)
2018-10-08 17:34:18.040 INFO 15176 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/authorize]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.authorize(java.util.Map<java.lang.String, java.lang.Object>,java.util.Map<java.lang.String, java.lang.String>,org.springframework.web.bind.support.SessionStatus,java.security.Principal)
2018-10-08 17:34:18.041 INFO 15176 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/token],methods=[POST]}" onto public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.OAuth2AccessToken> org.springframework.security.oauth2.provider.endpoint.TokenEndpoint.postAccessToken(java.security.Principal,java.util.Map<java.lang.String, java.lang.String>) throws org.springframework.web.HttpRequestMethodNotSupportedException
2018-10-08 17:34:18.042 INFO 15176 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/token],methods=[GET]}" onto public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.OAuth2AccessToken> org.springframework.security.oauth2.provider.endpoint.TokenEndpoint.getAccessToken(java.security.Principal,java.util.Map<java.lang.String, java.lang.String>) throws org.springframework.web.HttpRequestMethodNotSupportedException
2018-10-08 17:34:18.043 INFO 15176 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/check_token]}" onto public java.util.Map<java.lang.String, ?> org.springframework.security.oauth2.provider.endpoint.CheckTokenEndpoint.checkToken(java.lang.String)
2018-10-08 17:34:18.044 INFO 15176 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/confirm_access]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.security.oauth2.provider.endpoint.WhitelabelApprovalEndpoint.getAccessConfirmation(java.util.Map<java.lang.String, java.lang.Object>,javax.servlet.http.HttpServletRequest) throws java.lang.Exception
2018-10-08 17:34:18.044 INFO 15176 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/error]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.security.oauth2.provider.endpoint.WhitelabelErrorEndpoint.handleError(javax.servlet.http.HttpServletRequest)
2018-10-08 17:34:18.048 INFO 15176 --- [ main] .s.o.p.e.FrameworkEndpointHandlerMapping : Mapped "{[/oauth/token_key],methods=[GET]}" onto public java.util.Map<java.lang.String, java.lang.String> org.springframework.security.oauth2.provider.endpoint.TokenKeyEndpoint.getKey(java.security.Principal)
2018-10-08 17:34:18.153 WARN 15176 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2018-10-08 17:34:18.153 INFO 15176 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-10-08 17:34:18.159 WARN 15176 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2018-10-08 17:34:18.159 INFO 15176 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-10-08 17:34:18.327 INFO 15176 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5c10f1c3: startup date [Mon Oct 08 17:34:14 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@2cdd0d4b
2018-10-08 17:34:18.383 INFO 15176 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2018-10-08 17:34:18.384 INFO 15176 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-10-08 17:34:18.423 INFO 15176 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-08 17:34:18.423 INFO 15176 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/
] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-08 17:34:18.470 INFO 15176 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [//favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-08 17:34:20.052 INFO 15176 --- [ main] o.s.cloud.commons.util.InetUtils : Cannot determine local hostname
2018-10-08 17:34:21.664 INFO 15176 --- [ main] o.s.cloud.commons.util.InetUtils : Cannot determine local hostname
2018-10-08 17:34:22.135 INFO 15176 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/css/
'], Ant [pattern='/js/'], Ant [pattern='/images/'], Ant [pattern='/webjars/'], Ant [pattern='//favicon.ico'], Ant [pattern='/error']]], []
2018-10-08 17:34:22.236 INFO 15176 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/oauth/token'], Ant [pattern='/oauth/token_key'], Ant [pattern='/oauth/check_token']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7e81617a, org.springframework.security.web.context.SecurityContextPersistenceFilter@50df37eb, org.springframework.security.web.header.HeaderWriterFilter@48368a08, org.springframework.security.web.authentication.logout.LogoutFilter@21b744ec, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6b126187, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@41143873, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@65e620b0, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6e73974, org.springframework.security.web.session.SessionManagementFilter@3005623b, org.springframework.security.web.access.ExceptionTranslationFilter@714f1a44, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@165d1d54]
2018-10-08 17:34:22.241 WARN 15176 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'mvcHandlerMappingIntrospector' available: A Bean named mvcHandlerMappingIntrospector of type org.springframework.web.servlet.handler.HandlerMappingIntrospector is required to use MvcRequestMatcher. Please ensure Spring Security & Spring MVC are configured in a shared ApplicationContext.
2018-10-08 17:34:22.244 INFO 15176 --- [ main] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@58867cd5: startup date [Mon Oct 08 17:34:16 CST 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5c10f1c3
2018-10-08 17:34:22.245 INFO 15176 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2018-10-08 17:34:22.274 INFO 15176 --- [ main] utoConfigurationReportLoggingInitializer :

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-10-08 17:34:22.397 ERROR 15176 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean named 'mvcHandlerMappingIntrospector' that could not be found.

Action:

Consider defining a bean named 'mvcHandlerMappingIntrospector' in your configuration.

Process finished with exit code 1

Using predictable/constant cryptographic key when creating and verifing Json Web Token.

Hi, we are a research group to help developers build secure applications. We designed a cryptographic misuse detector on Java language(Our main concern is the secure implementation and use of Json Web Token). We found your great public repository (i.e.,
microservice-integration)from Github, and several security issues detected by our detector are shown in the following. The specific security issues we found are as follows:
(1) Location: Package: com.blueskykong.auth.config.oauth; Class: OAuth2Config.class Method: JwtAccessTokenConverter
Security issue: Using predictable/constant cryptographic key when creating and verifing Json Web Token. (The key is hard-coded and not have enough strength. It is suggest the length of HMAC key is as long as the length of the output. )

Using a predictable/constant secret does not conform to the security implementation specification of JWT, which may bring security risks to your system. It is recommended to use a more secure way to store the secret used to generate the JWT and use a strong enough key to improve the security of the project. (For the hazards of predictable/constant secret, you can refer to CWE-321, NIST Special Publication 800-57).

We wish the above security issues cloud truly help you to build a secure application. If you have any concern or suggestion, please feel free to contact us, we are looking forward to your reply. Thanks.

maven依赖报错

spring-cloud-oauth2 maven依赖报错,OAuth2Config文件无法引入AuthorizationServerConfigurerAdapter

Auth service showing "APPLICATION FAILED TO START"

APPLICATION FAILED TO START

Description:

Field mapper com.blueskykong.auth.dao.impl.MybatisClientSecretDAO required a bean of type 'com.blueskykong.auth.dao.mapper.ClientSecretMapper' that could not be found.

Action:

Consider defining a bean of type 'com.blueskykong.auth.dao.mapper.ClientSecretMapper' in your configuration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.