Giter Site home page Giter Site logo

dromara / dante-cloud Goto Github PK

View Code? Open in Web Editor NEW
626.0 626.0 162.0 209.34 MB

Dante Cloud 是以「高质量代码、低安全漏洞」为核心,采用领域驱动模型(DDD)设计**,完全基于 Spring 生态全域开源技术和 OAuth2.1 协议,支持智能电视、IoT等物联网设备认证,满足国家三级等保要求、支持接口国密数字信封加解密、防刷、高防XSS和SQL注入等一系列安全体系的多租户微服务解决方案。

Home Page: https://www.herodotus.cn

License: Apache License 2.0

Dockerfile 0.96% Java 76.46% CSS 1.20% HTML 0.75% SQLPL 11.52% PLpgSQL 9.11%
dante-cloud docker elk jetcache knife4j kubernates microservice nacos postgresql seata sentinel skywalking spring-authorization-server spring-boot spring-cloud spring-cloud-alibaba spring-cloud-gateway spring-cloud-oauth2 spring-data-jpa spring-security-oauth2

dante-cloud's People

Contributors

bytebytebrew avatar herodotus-ecosystem 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

dante-cloud's Issues

关于临时关闭 Dante Engine 工程代码开放的公告

因 KemidoCloud 不尊重开源、不尊重原创的可耻抄袭行为。现决定临时关闭 Dante Engien 工程代码的开放权限,代码开发权限关闭后会继续上传依赖包至 Maven **仓库,不会影响 Dante Cloud 的使用。后续是否继续开放、何时开放视情况而定。谢谢各位对 Dante Cloud 的支持与厚爱。

ISSUE 和 PR 说明

当前代码库已经变为 Dante Cloud 镜像站。如有 ISSUE 或 PR 代码,请到 Gitee 进行。谢谢配合!

Error retrieve access token through refresh token: `value cannot be null`

OAuth2SocialCredentialsAuthenticationProvider provide the phone login, but when I try to retrieve access token by refresh token, error occured.

java.lang.IllegalArgumentException: value cannot be null
	at org.springframework.util.Assert.notNull(Assert.java:204)
	at org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext$AbstractBuilder.put(OAuth2TokenContext.java:229)
	at org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext$AbstractBuilder.principal(OAuth2TokenContext.java:156)
	at org.springframework.security.oauth2.server.authorization.authentication.OAuth2RefreshTokenAuthenticationProvider.authenticate(OAuth2RefreshTokenAuthenticationProvider.java:149)
	at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:182)
	at org.springframework.security.authentication.ObservationAuthenticationManager.lambda$authenticate$1(ObservationAuthenticationManager.java:53)
..... more frames ....

OAuth2RefreshTokenAuthenticationProvider put the pricipal from OAuth2Authorization attribute with the key java.security.Principal, which is null. The OAuth2SocialCredentialsAuthenticationProvider is not set and save this attribute when authenticate

OAuth2Authorization.Builder authorizationBuilder = OAuth2Authorization.withRegisteredClient(registeredClient)
            .principalName(usernamePasswordAuthentication.getName())
            .authorizationGrantType(HerodotusGrantType.SOCIAL)
            // java.security.Principal attribute must be set.
            .attribute(Principal.class.getName(), somePrincipal)
            .authorizedScopes(authorizedScopes);

这个框架支持多类型用户么?

先点个start支持下

现在我们打算做的一个项目 有移动端用户和后台管理用户,他们可能不在同一张用户表中,对应的权限也有不同,这个框架能支持分别进行登陆验证和权限控制么

按文档说明 全部起起来 服务了,起之前 redis 缓存也清空,登陆时报错:认证失效! 登录认证已过期,请重新登录!

按文档说明全部起起来 服务了,起之前 redis 缓存也清空,登陆时报错:认证失效! 登录认证已过期,请重新登录!

启动服务之前,flushdb 3 清空 redis 缓存
基础组件:除了 elk,skywaling,其余都容器化搭建好了
依次起了服务: Uaa,Oss,Message,Upm,Gateway 五个服务

前端 pnpm dev 本地启动页面:

登陆时用默认账户密码,过了滑动验证之后, 报错:

image

强烈谴责 Kemido Cloud 的抄袭行为

Dante Cloud 虽然说不是什么高精尖科技,但是也作者兢兢业业,努力在维护的产品。

Dante Cloud 作者在 Github 上的 ID 为 herodotus-cloud

本着开源的精神,只要遵循 Apache 2.0 协议即可使用,即仅有保留版权信息和作者信息这最基本的要求。

kemidocloud 不仅不遵守该协议,竟然还堂而皇之的开源出来。在此对 kemidocloud 的行为进行强烈的谴责!望大家予以支持!

抄袭项目地址:【Github】https://github.com/kemidocloud/ ;【Gitee】未开放。https://gitee.com/zoujiaqing

image

image

image

image

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.