Commit Graph

180 Commits

Author SHA1 Message Date
Marcus Da Coregio 554f1961db Add init script to be used in Spring Security CI
Issue https://github.com/spring-projects/spring-security/issues/10344
2022-05-11 12:16:35 -03:00
cammorris 162ee60efb make favicon public
Even though the resource doesn't exist, chrome (and probably other browsers) will request the favicon after requesting the "second-factor" page.  Requests for the favicon prevented proceeding past the second-factor page and never hitting the POST to "second-factor".  Instead, the sample prompts for the username, again.

Exposing favicon (even though it doesn't exist) resolves the issue.
2022-05-03 16:53:32 -05:00
Steve Riesenberg bc3fc6b2e0
Add gradle wrapper
Closes gh-51
2022-05-03 12:54:29 -05:00
Eleftheria Stein cbbf5bb4bb Align asserting party property with Spring Boot
Closes gh-74
2022-04-26 12:07:35 +02:00
Marcus Da Coregio 6892a95805 Require explicit save false in MFA sample 2022-04-20 11:06:56 -03:00
Marcus Da Coregio cadaa9ac4f Use asserting-party in Spring Boot SAML config 2022-04-20 11:06:40 -03:00
Eleftheria Stein 2b7ce67ff5 Update samples to Spring Boot 3.0.0-SNAPSHOT
Closes gh-69
2022-04-13 17:02:20 +02:00
Eleftheria Stein ebf0e1f181 Update to Gradle 7.4
Closes gh-70
2022-04-13 17:00:52 +02:00
Marcus Da Coregio 2ffc2dd22a Fix formatting and checkstyle 2022-04-01 14:02:44 -03:00
Josh Cummings 6a91568319
Simplify SAML configuration 2022-03-31 12:50:32 -06:00
Marcus Da Coregio 551f715b7c Update README for SAML 2.0 samples 2022-03-28 13:54:11 -03:00
Marcus Da Coregio cb4bd098e3 Re-enable SAML 2.0 samples with Okta IdP
Closes gh-55
2022-03-23 10:18:48 -03:00
Marcus Da Coregio bce2126fd1 Update samples to use Spring Security 6
Issue gh-46
2022-03-23 10:14:39 -03:00
Marcus Da Coregio 545ffedea3 Fix Spring Security version on SAML 2.0 Login Logout XML Sample
Issue gh-57
2022-03-10 13:25:00 -03:00
Marcus Da Coregio 55e14fcb86 SAML 2.0 Login & Logout XML Sample
Issue gh-57
2022-03-10 12:20:14 -03:00
Marcus Da Coregio 57c0b8a4c4 Switch remaining jcenter() to mavenCentral() 2022-01-17 12:44:01 -03:00
Marcus Da Coregio 3dd832f99f Switch from jcenter() to mavenCentral() 2022-01-17 12:26:21 -03:00
Steve Riesenberg e995914653 Add milestone repository
Closes gh-58
2022-01-17 11:50:45 -03:00
Josh Cummings a4cef77512 Add milestone repository 2022-01-03 17:24:50 -07:00
Marcus Da Coregio c5a2162b07 Remove remaining usage of WebSecurityConfigurerAdapter 2021-12-15 09:32:05 -03:00
Eleftheria Stein f1c448becc Temporarily disable tests on SAML2 samples
Issue gh-55
2021-12-13 17:39:25 +01:00
Eleftheria Stein dec2e57170 Prevent gradle cache on tests
Closes gh-54
2021-12-13 17:39:12 +01:00
Marcus Da Coregio 070916cbcd Increase timeout for WebTestClient
Sometimes the tests fail with the message Timeout on blocking read for 5000000000 NANOSECONDS
2021-12-10 14:29:54 -03:00
Marcus Da Coregio 15adedbf87 Fix broken links
Issue gh-53
2021-12-10 14:14:40 -03:00
Marcus Da Coregio 7058a3592c Fix broken links in README
Closes gh-53
2021-12-10 14:14:37 -03:00
Marcus Da Coregio 2a9a874d41 Update servlet:xml:contacts to use Spring 6
Issue gh-46
2021-12-10 13:44:27 -03:00
Marcus Da Coregio 7d80162ab9 Update servlet:xml:dms to use Spring 6
Issue gh-46
2021-12-10 13:38:35 -03:00
Marcus Da Coregio f4afba567a Update xml:helloworld sample to use Spring 6
Issue gh-46
2021-12-10 13:38:02 -03:00
Marcus Da Coregio a6e0f60def Update java-configuration:hello-security to use Spring 6
Issue gh-46
2021-12-10 10:47:02 -03:00
Eleftheria Stein 75f86c51ec Update java-configuration:hello-security-explicit to use Spring 6
Issue gh-46
2021-12-10 10:47:02 -03:00
Marcus Da Coregio fe037cf4d7 Remove usage of WebSecurityConfigurerAdapter
Switch to expose a SecurityFilterChain Bean

Closes gh-52
2021-12-10 10:39:08 -03:00
Marcus Da Coregio b2ec34de55 Update CI workflow to run with Java 17 2021-12-06 10:16:27 -03:00
Marcus Da Coregio 91a69b36f9 Migrate java-configuration:data sample to new major version
Spring Security 6.0.0-SNAPSHOT, SpringFramework 6.0.0-SNAPSHOT, Hibernate-core 6.0.0.Beta2
2021-12-06 10:05:41 -03:00
Marcus Da Coregio 7b653aab91 Upgrade kotlin plugin version and jvm target 2021-12-03 11:45:10 -03:00
Marcus Da Coregio a43cbcab41 Upgrade to Gradle 7.3 2021-12-03 11:35:39 -03:00
Marcus Da Coregio 6a60e655e3 Update to JDK 17
Issue gh-46
2021-12-03 11:17:41 -03:00
Josh Cummings ca32d8e45d Update authorizeHttpRequests
Closes gh-49
2021-11-10 10:20:09 -07:00
Josh Cummings 3a58daf55d Update HttpSecurity Formatting 2021-11-10 09:42:09 -07:00
Marcus Da Coregio 3a4eec6eda Add SAML 2.0 Metadata Refresh Sample
Closes gh-2
2021-11-02 20:31:15 -03:00
Marcus Da Coregio 5354f8b349 Add saml2-login java-configuration tests
Closes gh-10
2021-11-02 13:26:19 -03:00
Marcus Da Coregio 482dfc9a59 Fix formatting 2021-10-29 14:42:11 -03:00
Josh Cummings 7426260ee1 Add Second Tenant to SAML 2.0 Login 2021-10-28 17:25:54 -06:00
Marcus Da Coregio 313dbd7a18 Add saml2-login java-configuration sample
Issue gh-10
2021-10-21 11:56:31 -03:00
Josh Cummings b48c07d36d Add SAML 2.0 Single Tenant Sample 2021-10-12 08:52:10 -06:00
Josh Cummings ca19311b20 Add Metadata Endpoint 2021-10-12 08:48:20 -06:00
Josh Cummings 7d915468ae Move Saml2 Login Sample
To make room for more SAML 2.0 samples!
2021-10-12 08:40:44 -06:00
Marcus Da Coregio 6dc97460c8 Disable X.509 integration tests
When moving to gretty newer version there is a conflict in tomcat configuration.
This tests should be re-enabled

Issue gh-45
2021-10-04 15:06:08 -03:00
Marcus Da Coregio 5097f9dcfc Update to Gradle 7.2
Closes gh-45
2021-10-04 15:04:13 -03:00
Josh Cummings 76d4b1e5a3 Fix Formatting
Issue gh-44
2021-09-27 16:57:16 -06:00
Josh Cummings c4eaac0423 Update to Use JwtEncoder
Closes gh-44
2021-09-27 16:43:29 -06:00