# safekeeper **Repository Path**: toolskeeper/safekeeper ## Basic Information - **Project Name**: safekeeper - **Description**: safekeeper是一款好用的Java权限认证框架,主要解决:登录认证、权限认证、Session会话、单点登录、OAuth2.0、微服务网关鉴权 等一系列权限安全相关的框架,集成简单、开箱即用、API设计通俗易懂,通过safekeeper,你将以一种极其简单的方式实现系统的权限认证 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 26 - **Forks**: 9 - **Created**: 2021-08-20 - **Last Updated**: 2025-12-17 ## Categories & Tags **Categories**: oauth-dev **Tags**: 单点登录, 安全框架, OAuth2 ## README

🍬A lightweight Java permission authentication framework.

👉 https://safekeeper.cn/ 👈


------------------------------------------------------------------------------- [**🌎English Documentation**](README-EN.md) ------------------------------------------------------------------------------- ## 📚Introductory SafeKeeper is a lightweight Java permission authentication framework for self-developed and dependent
The service scenarios are login authentication, permission authentication, distributed Session Session, single sign-on (SSO), and OAuth2 Micro service network customs authentication and a series of permissions related issues framework integration is simple, out of the box, clean functional design Safekeeper is a framework that allows you to implement complex permission authentication systems in a very simple way. ### 🎁SafeKeeper Origin of the name SafeKeeper = Safe + Keeper, "Safe" is focused on security, authentication, authorization, Keeper means guard, guard everyone's business. ## 🛠️Contains the components | module | Introduce | | -------------------|---------------------------------------------------------------------------------- | | safekeeper-common | Common components | | safekeeper-core | The core to realize | | safekeeper-demo | The demo case | | safekeeper-plugin | Framework adaptive integration | ------------------------------------------------------------------------------- ## 📝Document [📘Chinese Document](https://www.safekeeper.cn/) ------------------------------------------------------------------------------- ## 📦Install ### 🍊Maven Add the following in dependencies to your project's POM.xml file: ```xml cn.safekeeper safekeeper-plugin-springboot-starter 1.1.0 ``` ### 🍐Gradle ``` compile 'cn.safekeeper:safekeeper-plugin-springboot-starter:1.1.0' ``` ### 📥Download Click the following link to download 'safekeeper-plugin-springboot-starter' : - [Maven central Repository](https://repo1.maven.org/maven2/cn/safekeeper/safekeeper-plugin-springboot-starter/1.1.0/safekeeper-plugin-springboot-starter-1.1.0.jar) > 🔔️attention > safekeeper 1.1.0 supports JDK78+。 ### 🚽Compile the installation [https://gitee.com/toolskeeper/safekeeper](https://gitee.com/toolskeeper/safekeeper) Download the entire project source code (either master or Develop) and go to the SafeKeeper project directory to execute: ```sh mvn install ``` You can then use Maven to introduce。 ### 📌Integrated case view this safekeeper-guide project specification:[https://gitee.com/toolskeeper/safekeeper/tree/master/safekeeper-guide/README.md](https://gitee.com/toolskeeper/safekeeper/tree/master/safekeeper-guide/README.md) : ------------------------------------------------------------------------------- ## 🏗️Building blocks ### 🎋Branch instructions The safeKeeper source code is divided into two branches with the following functions: | branch | effect | |-----------|---------------------------------------------------------------| | master | The main branch, the branch used by the release version, is consistent with the JAR submitted by the central library and does not receive any PR or modifications | | develop | The development branch, which defaults to the SNAPSHOT version of the next version, accepts modifications or PR | ### 🐞Provide bug feedback or suggestions To submit feedback, please indicate the JDK version, SafeKeeper version, and related dependency library version you are using. - [Gitee issue](https://gitee.com/toolskeeper/safekeeper/issues) ### 🧬Steps to contribute code 1. Fork the project to your own repo on Gitee or Github 2. Clone past projects from fork to your local site 3. Modify the code (make sure to modify the Develop branch) 4. Push to your own library after commit (develop branch) 5. Go to Gitee or Github and you'll see a Pull Request button on your home page. Click on it, fill out some instructions, and submit. 6. Wait for maintainers to merge ### 📐The principles of PR Everyone is welcome to contribute code to SafeKeeper, but the maintainer is an ocD patient. In order to care for the patient, pr (pull request) needs to be submitted in accordance with the following specifications: 1. Complete comments. In particular, each new method should be marked with method description, parameter description, return value description and other information according to the Java document specification. 2. Do not use the methods of third-party libraries to add new methods. Safekeeper follows the no-dependency principle. ------------------------------------------------------------------------------- ## ⭐Star safekeeper Safekeeper is in development, and I believe that there will be a lot of participants to join in, and there will be a lot of start ## 💳Donate If you think safekeeper is good, you can donate to the maintainer to eat latiao ~, thank you ^_^ here. Click on the link below, pull to the bottom of the page and click "Donate". (No donation for now) ## 📌Official Accounts #### 🧡Welcome to the public account of SafeKeeper cooperation There is no public account