Không có mô tả

dependabot[bot] cd17a379fc Bump org.springframework.data:spring-data-bom from 2024.0.2 to 2024.0.5 10 tháng trước cách đây
.github 36c006352e Merge branch '6.2.x' 1 năm trước cách đây
.idea fbe7baec45 Add SAML 2.0 sample using SAML Extension's endpoints 2 năm trước cách đây
config bd98343b9c Fix checkstyle errors 1 năm trước cách đây
docker 7f919df0cc Add CAS Gateway sample 1 năm trước cách đây
gradle cd17a379fc Bump org.springframework.data:spring-data-bom from 2024.0.2 to 2024.0.5 10 tháng trước cách đây
reactive 1ce2c14dba Update to Gradle 8.10.2 10 tháng trước cách đây
servlet 14b6bd4f56 Add PrincipalResolver to RestClient sample 10 tháng trước cách đây
.gitignore 15eaf5377b Add IDEA file to git exclusion 4 năm trước cách đây
README.adoc cc0e6f0d33 Add sample for OAuth2 RestClient interceptor 11 tháng trước cách đây
build.gradle 93ebfca7b8 Make Javaformat and AOT work together 11 tháng trước cách đây
find-latest-minor-version.sh a320504852 Add scripts and workflow to update Spring Boot version 2 năm trước cách đây
gradle.properties dedb6f4009 Increase max memory allocation 1 năm trước cách đây
gradlew 3f8e2c204a Upgrade to Gradle 8.3 1 năm trước cách đây
gradlew.bat 3f8e2c204a Upgrade to Gradle 8.3 1 năm trước cách đây
includes.sh 7c3535b65a includes sorts 5 năm trước cách đây
settings.gradle 8fecde68da Initial Reactive OTT Sample 10 tháng trước cách đây
spring-security-ci.gradle 3951351284 Separate OSS and Commercial Init Scripts 11 tháng trước cách đây
spring-security-commercial-ci.gradle 3951351284 Separate OSS and Commercial Init Scripts 11 tháng trước cách đây
sync-boot-version.sh 8d8e6d0056 Revert "Fix sync scripts" 2 năm trước cách đây
sync-dependency-management.sh 8d8e6d0056 Revert "Fix sync scripts" 2 năm trước cách đây
sync-framework-bom.sh 18ed50193d Add scripts to sync Framework and Security BOMs 2 năm trước cách đây
sync-gradle-properties.sh 8d8e6d0056 Revert "Fix sync scripts" 2 năm trước cách đây
sync-gradle.sh 8d8e6d0056 Revert "Fix sync scripts" 2 năm trước cách đây
sync-libs-symlinks.sh 50ffc04d54 Make Projects Individually Runnable 1 năm trước cách đây
sync-nebula-integtest.sh 8d8e6d0056 Revert "Fix sync scripts" 2 năm trước cách đây
sync-security-bom.sh 18ed50193d Add scripts to sync Framework and Security BOMs 2 năm trước cách đây
versions.properties c7675213ce Update Spring Boot Version to 3.1.6 1 năm trước cách đây

README.adoc

image::https://github.com/spring-projects/spring-security-samples/workflows/CI/badge.svg[link=https://github.com/spring-projects/spring-security-samples/actions?query=workflow%3ACI]

image::https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Develocity", link="https://ge.spring.io/scans?search.rootProjectNames=spring-security-samples"]

Samples for https://github.com/spring-projects/spring-security

== Samples catalog

=== Getting Started

* Hello Security - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/hello-security[Spring Boot] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/java/hello-security[WebFlux] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux-fn/hello-security[WebFlux.fn] | https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/hello-security[Java Configuration] | https://github.com/spring-projects/spring-security-samples/tree/main/servlet/xml/java/helloworld[XML] | https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/kotlin/hello-security[Kotlin] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/kotlin/hello-security[WebFlux Kotlin] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/rsocket/hello-security[RSocket]

* Hello Security (without Spring MVC) - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/hello-security-explicit[Java Configuration]

* Hello Security with Explicit Configuration - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/hello-security-explicit[Spring Boot] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/java/hello-security-explicit[WebFlux] | https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/hello-mvc-security[Java Configuration]

* Method Security - https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/java/method[WebFlux]

* Spring Data Integration - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/data[Java Configuration]

* Max Sessions - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/max-sessions[Java Configuration]

* AspectJ Security Configuration - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/aspectj[Java Configuration]

=== OAuth 2.0

* https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/authorization-server[Authorization Server]

* Login - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/login[Spring Boot] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/java/oauth2/login[WebFlux]

* Resource Server

** Hello Security - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/resource-server/hello-security[Spring Boot] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/java/oauth2/resource-server[WebFlux]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/resource-server/jwe[JSON Web Encryption (JWE)]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy[Multi-tenancy]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/resource-server/opaque[Opaque Token]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/resource-server/static[Static]

* RestClient - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/restclient[Spring Boot]

* WebClient - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/webclient[Spring Boot] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/java/oauth2/webclient[WebFlux]

=== SAML 2.0

* Login & Logout - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/saml2/login[Spring Boot] | https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/saml2/login[Java Configuration]

=== Authentication

* https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/authentication/preauth[Pre-authentication]

* https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/authentication/remember-me[Remember-me]

* Username and password

** Form Login - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/authentication/username-password/form[Java Configuration] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/java/authentication/username-password/form[WebFlux]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/authentication/username-password/in-memory[In-memory `UserDetailsService`]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/authentication/username-password/jdbc[JDBC]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/authentication/username-password/ldap[LDAP]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/authentication/username-password/mfa[Multi-factor authentication]

** https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/authentication/username-password/user-details-service/custom-user[Custom `UserDetails`]

* X.509 - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/authentication/x509[Java Configuration] | https://github.com/spring-projects/spring-security-samples/tree/main/reactive/webflux/java/authentication/x509[WebFlux]

=== JWT

* Login - https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/jwt/login[Spring Boot]