This is the Linux app named spring-security-jwt-guide whose latest release can be downloaded as spring-security-jwt-guidesourcecode.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named spring-security-jwt-guide with OnWorks for free.
ປະຕິບັດຕາມຄໍາແນະນໍາເຫຼົ່ານີ້ເພື່ອດໍາເນີນການ app ນີ້:
- 1. ດາວໂຫຼດຄໍາຮ້ອງສະຫມັກນີ້ໃນ PC ຂອງທ່ານ.
- 2. ໃສ່ໃນຕົວຈັດການໄຟລ໌ຂອງພວກເຮົາ https://www.onworks.net/myfiles.php?username=XXXXX ດ້ວຍຊື່ຜູ້ໃຊ້ທີ່ທ່ານຕ້ອງການ.
- 3. ອັບໂຫລດແອັບພລິເຄຊັນນີ້ຢູ່ໃນຕົວຈັດການໄຟລ໌ດັ່ງກ່າວ.
- 4. ເລີ່ມ OnWorks Linux ອອນລາຍ ຫຼື Windows online emulator ຫຼື MACOS online emulator ຈາກເວັບໄຊທ໌ນີ້.
- 5. ຈາກ OnWorks Linux OS ທີ່ເຈົ້າຫາກໍ່ເລີ່ມຕົ້ນ, ໄປທີ່ຕົວຈັດການໄຟລ໌ຂອງພວກເຮົາ https://www.onworks.net/myfiles.php?username=XXXXX ດ້ວຍຊື່ຜູ້ໃຊ້ທີ່ທ່ານຕ້ອງການ.
- 6. ດາວນ໌ໂຫລດຄໍາຮ້ອງສະຫມັກ, ຕິດຕັ້ງມັນແລະດໍາເນີນການ.
ໜ້າ ຈໍ
Ad
spring-security-jwt-guide
ລາຍລະອຽດ
This project is a comprehensive example repository that demonstrates how to secure a Spring Boot application using Spring Security and JSON Web Tokens (JWT). It is built on Spring Boot 3.x and Java 21, and includes integrations such as Spring Security 6.x, JPA (via Hibernate) for persistence, and Redis for session/token management. The goal is to show how to migrate from stateful, session-based auth toward stateless, modern REST API authentication using JWTs, roles, and permission checks. The code covers typical flows like user registration, login, logout, refreshing or invalidating tokens, and endpoint authorization with annotations like @PreAuthorize. It’s cleaner and more up-to-date than many older tutorials, reflecting current Spring and Java versions and allowing direct experimentation by developers.
ຄຸນລັກສະນະ
- JWT-based authentication and authorization integrated with Spring Security
- Stateless REST API design with user registration, login, logout, and protected endpoints
- Role and permission model implemented via JPA many-to-many relationships
- Redis integration for tracking/invalidation of active tokens and sessions
- Uses Spring Boot 3.x, Java 21, Spring Security 6.x for modern stack
- Includes sample database (H2) and ready startup to explore authentication flows
ພາສາການຂຽນໂປຣແກຣມ
Java
ປະເພດ
This is an application that can also be fetched from https://sourceforge.net/projects/spring-security-jwt.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.
