Commit Graph

558 Commits

Author SHA1 Message Date
jsgrah-spring eca8ddf2f5 JAVA-20481 (#13901)
Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-04-25 18:55:05 +05:30
edizor a2918883b3 Update README.md
[skip ci]
2023-03-30 21:12:49 +08:00
davidmartinezbarua 5069680b89 Merge pull request #13659 from muasif80/master
BAEL-6035
2023-03-22 14:05:07 -03:00
Muhammad Asif 9cf814af35 BAEL-6035 2023-03-16 23:28:37 +05:00
edizor 948854c5f3 Create README.md
[skip ci]
2023-03-17 00:43:31 +08:00
edizor bec630aec9 Create README.md
[skip ci]
2023-03-04 11:16:45 +08:00
ch4mpy 769ca17937 BAEL-6223 : ul (CONFIGURATION)
Revert move spring-security-oauth2-testing module declaration
2023-03-01 14:53:35 -10:00
ch4mpy 052dd5e64f BAEL-6223 : ul (CONFIGURATION)
Anonymous test methods naming
2023-03-01 14:53:01 -10:00
ch4mpy 5679db5cb8 BAEL-6223 : ul (CONFIGURATION)
Move spring-security-oauth2-testing module declaration
2023-03-01 14:20:41 -10:00
ch4mpy 26e401b290 Baeldung source format 2023-03-01 14:11:01 -10:00
ch4mpy 66d71f0697 Improve anonymous tests readability 2023-03-01 14:11:01 -10:00
ch4mpy b4d18fd227 https://jira.baeldung.com/browse/BAEL-6223 2023-03-01 14:11:01 -10:00
psevestre a713d96d4d BAEL 6160 (#13519)
* [BAEL-4849] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Remove extra comments

* [BAEL-5258] Article Code

* [BAEL-2765] PKCE Support for Secret Clients

* [BAEL-5698] Article code

* [BAEL-5698] Article code

* [BAEL-5900] Initial commit

* [BAEL-5974] Article Code

* [BAEL-5974] Article Code

* [BAEL-6160] Article code

* [BAEL-6160] Tests

---------

Co-authored-by: Philippe Sevestre <psevestre@gmail.com>
2023-02-25 11:46:17 -08:00
Anastasios Ioannidis 58069ea225 JAVA-12390 Enabled CORS (#13208) 2023-01-19 23:37:14 +05:30
jsgrah-spring 18787b33c5 JAVA-16085, Potential issue in "A Guide to SAML with Spring Security" article (#13279)
* JAVA-16085, Potential issue in "A Guide to SAML with Spring Security" article.

* JAVA-16085, Cleanup unnecessary resources samlKeystore.jks and library maven-war-plugin.

Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-01-16 23:01:13 +05:30
freelansam 456652e02b JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
edizor 56856556fa Update README.md
[skip ci]
2022-12-15 16:31:55 +08:00
Adrian Bob 4fc53df118 Updated README (#13152) 2022-12-11 09:23:11 -08:00
TomVerkon 795200d2a7 Master java 15108 (#13144)
* Added server.servlet.register-default-servlet=true

to application.properties file to eliminate
java.lang.IllegalStateException: Unable to locate the default servlet
for serving static content. error

* Changed mysql-connector name space

to eliminate warning message The artifact
mysql:mysql-connector-java:jar:8.0.31 has been relocated to
com.mysql:mysql-connector-j:jar:8.0.31

* Fixed test givenDisabledSecurityExpression_whenGetFooByName_thenError()

Removed second assert, because "java.lang.RuntimeException: method
hasAuthority() not allowed" is seen in console but is not passed to
testing. Test returns "Internal Server Error"

* Removed location changes I previously made to mysql-connector-java in
the pom

Co-authored-by: tverk <tverk@TomsXPS17-9720.attlocal.net>
2022-12-11 10:43:05 +05:30
Adrian Bob f45b2c8659 BAEL-5325: Add Spring Security login/logout API with Springdoc (#13027)
* BAEL-5325: Add Spring Security login/logout API with Springdoc

* Updated Spring version and using annotations for Basic Auth config

* Added tests

* Removed unused dependencies

* Removed dependencies which were accidentally added.

* Removed plugins which were accidentally added.

* Removed property which was accidentally added.
2022-12-09 10:35:09 -08:00
collaboratewithakash 62e25fc0ab backlink fixed. 2022-12-05 16:28:32 +05:30
collaboratewithakash 97c5ef6776 backlink fixed. 2022-12-05 16:25:53 +05:30
anuragkumawat 8ee7dcd350 JAVA-14897 Update spring-security-auth0 module under spring-security modules to remove usage of deprecated WebSecurityConfigurerAdapter (#13070)
* JAVA-14897 Update spring-security-auth0 module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter

* JAVA-14897 Code update as per review comment
2022-11-25 19:50:00 +05:30
edizor 540b32ef08 Update README.md
[skip ci]
2022-11-25 14:33:35 +08:00
anuragkumawat 6f29cf4dbf JAVA-14898 Update spring-security-web-mvc module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#13048) 2022-11-23 23:56:10 +05:30
freelansam 5bfbf38f59 JAVA-15409: Fix formatting of POMs (#12992) 2022-11-18 00:26:06 +05:30
anuragkumawat 178aed574e JAVA-14884 Update spring-security-social-login under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#13011) 2022-11-18 00:10:19 +05:30
lucaCambi77 8a4e8692b9 [ BAEL-5804 ] Spring @EnableMethodSecurity annotation (#12980)
* enable method security with custom authorization manager

* fix: pmd violation

* fix: add user builder, clean code

* fix: test name when forbidden, user map variable
2022-11-14 20:10:39 -06:00
Loredana Crusoveanu 295ea4d00d Merge pull request #13024 from eugenp/lor6-patch-4
Update README.md
2022-11-13 18:09:41 +02:00
Loredana Crusoveanu 73c6a14af6 Update README.md 2022-11-13 18:05:16 +02:00
Loredana Crusoveanu a0691ae44b Update README.md 2022-11-13 18:05:04 +02:00
Loredana Crusoveanu 665046d667 Merge pull request #12978 from collaboratewithakash/master
a few backlinks added
2022-11-07 09:49:22 +02:00
anuragkumawat ce4b255177 JAVA-14889 Update spring-security-web-angular module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12960) 2022-11-06 10:53:53 +05:30
collaboratewithakash b7f4740381 Update README.md 2022-11-05 16:21:54 +05:30
Loredana Crusoveanu 745ce44a9d Merge pull request #12904 from hkhan/JAVA-15663-upgrade-boot
[JAVA-15663] Upgrde Boot to 2.7.5
2022-10-30 08:58:34 +02:00
anuragkumawat 7a17abc2aa JAVA-14883 Update spring-security-web-thymeleaf under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12901) 2022-10-29 14:22:08 +05:30
anuragkumawat 1c24d18f62 JAVA-14886 Update spring-security-web-x509 module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12902) 2022-10-29 14:18:52 +05:30
anuragkumawat aa0692bbe5 JAVA-14887 Update spring-security-cognito module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12903) 2022-10-29 14:12:11 +05:30
anuragkumawat bca5ffe971 JAVA-14890 Update spring-security-oauth2-sso module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12913)
* JAVA-14890 Update spring-security-oauth2-sso module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter

* JAVA-14890 Commit remaining code
2022-10-29 13:49:55 +05:30
anuragkumawat 84dd60e287 JAVA-14894 Update spring-security-web-react module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12916) 2022-10-29 13:39:24 +05:30
Haroon Khan 9a39922db0 [JAVA-15663] Upgrde Boot to 2.7.5 2022-10-23 13:55:54 +01:00
anuragkumawat 5894510eb8 JAVA-14881 Update spring-security-oauth2 under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12898) 2022-10-22 23:53:56 +05:30
anuragkumawat afa8a9ed9e JAVA-14882 Update spring-security-ldap under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12890) 2022-10-19 23:51:29 +05:30
anuragkumawat cab7dee718 JAVA-14878 Update spring-security-web-login-2 under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12877) 2022-10-19 00:55:42 +05:30
anuragkumawat a613929ed9 JAVA-14877 Update spring-security-core-2 under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12875) 2022-10-19 00:46:38 +05:30
anuragkumawat 0c7e1e7a49 JAVA-14874 Update spring-security-web-boot-3 module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12863) 2022-10-19 00:18:01 +05:30
anuragkumawat 4c93ddfb23 JAVA-15423 Upgrade spring-security-oauth2-autoconfigure version in spring-security-oauth2 module (#12857) 2022-10-19 00:11:48 +05:30
psevestre fe09cfb802 BAEL-5698 (#12858)
* [BAEL-4849] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Remove extra comments

* [BAEL-5258] Article Code

* [BAEL-2765] PKCE Support for Secret Clients

* [BAEL-5698] Article code

* [BAEL-5698] Article code
2022-10-13 12:39:09 -07:00
anuragkumawat 7cffc487ea JAVA-14867 Update spring-security-web-login module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12852) 2022-10-11 21:12:39 +05:30
anuragkumawat f4d7618759 JAVA-15236 Update spring-security-legacy-oidc module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12835) 2022-10-10 23:22:15 +05:30
anuragkumawat 991e0673b2 JAVA-14885 Update spring-security-oidc module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12826) 2022-10-10 23:18:19 +05:30
anuragkumawat d9c5c8e37c JAVA-14873 Update spring-security-web-boot-2 module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12772) 2022-10-05 23:50:43 +05:30
anuragkumawat 5d5e8121aa JAVA-14875 Update spring-security-web-rest-custom module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12805) 2022-10-05 23:47:54 +05:30
anuragkumawat b95f463a7e JAVA-14876 Update spring-security-web-mvc-custom under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12820) 2022-10-05 23:37:59 +05:30
anuragkumawat 937e4f8262 JAVA-14879 Update spring-security-web-boot-1 under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12758)
* JAVA-14879 Update spring-security-web-boot-1 under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter

* JAVA-14879 Add missing CustomIpAuthenticationProvider to code
2022-10-02 12:01:02 +05:30
anuragkumawat 45d3ad42d1 JAVA-14871 Update spring-security-web-rest-basic-auth module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12798) 2022-10-01 22:43:50 +05:30
anuragkumawat 5cc6399e44 JAVA-14869 Update spring-security-web-rest module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12801) 2022-10-01 22:36:08 +05:30
collaboratewithakash fc9c32a0c3 Update README.md 2022-09-23 16:10:37 +05:30
collaboratewithakash ae2cbb062b Update README.md 2022-09-23 15:08:25 +05:30
Loredana Crusoveanu 3172233c58 Merge pull request #12748 from anuragkumawat/JAVA-14868
JAVA-14868 Update spring-security-web-sockets module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter
2022-09-22 12:42:44 +03:00
anuragkumawat 0b9cb50f23 JAVA-14868 Update spring-security-web-sockets module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter 2022-09-21 20:25:28 +05:30
anuragkumawat 9f3ef7db7c JAVA-14866 Update spring-security-core module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter 2022-09-20 20:25:21 +05:30
Asjad J fc03564b9f Updated README.md
added link back to the article: https://www.baeldung.com/java-postman-authentication/
2022-09-17 08:47:59 +05:00
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
davidmartinezbarua 5a666085ac Merge pull request #12716 from etrandafir93/features/BAEL-5674-streams-multiple-vs-single-filters
BAEL-5674: basic auth with Postman
2022-09-12 18:08:41 -03:00
emanueltrandafir1993 6773b9b3e8 BAEL-5674: basic auth with Postman 2022-09-11 15:18:37 +02:00
Asjad J b55e3429ad Updated README.md
updated the broken link
2022-09-03 21:34:54 +05:00
freelansam 46499a2419 JAVA-13823: Review module names (#12628)
* JAVA-13823: rename struts-2 to struts

* JAVA-13823: rename spring-cloud-bus submodules

* JAVA-13823: rename spring-cloud-config submodules

* JAVA-13823: rename spring-cloud-data-flow submodules

* JAVA-13823: rename spring-cloud-hystrix submodules

* JAVA-13823: rename spring-cloud-netflix-sidecar submodules

* JAVA-13823: rename spring-cloud-zookeeper submodules

* JAVA-13823: rename spring-cloud-zuul-fallback submodules

* JAVA-13823: rename spring-security-web-angular submodules

Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2022-08-26 16:20:12 +05:30
Asjad J 3e867be8c8 Created README.md
added link back to the article: https://www.baeldung.com/spring-security-pkce-secret-clients
2022-08-25 21:29:14 +05:00
psevestre d03fb7e217 [BAEL-2765] Rename test & add module (#12639)
* [BAEL-2765] Rename test & add module

* [BAEL-2765] Fix java target

* [BAEL-2765] Fix java target
2022-08-23 17:00:55 +02:00
Haroon Khan b9789c23f0 [JAVA-13976] Upgrade Spring Boot to 2.7.2 (#12603)
* [JAVA-13976] Upgrade Spring Boot to 2.7.2

* [JAVA-13976] Fix failing test due to incorrect Jackson version
2022-08-22 22:47:32 +05:30
freelansam 3f1f6bd34b JAVA-13826: Align module names, folder names and artifact id (#12624) 2022-08-20 23:54:43 +05:30
freelansam 23f33d32fe JAVA-13826: Align module names, folder names and artifact id (#12601) 2022-08-19 12:04:58 +05:30
psevestre a0942e5c53 [BAEL-2765] PKCE Support for Secret Clients (#12605)
* [BAEL-4849] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Remove extra comments

* [BAEL-5258] Article Code

* [BAEL-2765] PKCE Support for Secret Clients
2022-08-18 08:25:19 +02:00
Asjad J 485cfe510c Updated README.md
added link back to the article: https://www.baeldung.com/spring-thymeleaf-user-info
2022-08-10 09:34:39 +05:00
Asjad J bc5a892105 Updated README.md
added link back to the article: https://www.baeldung.com/spring-deprecated-websecurityconfigureradapter
2022-08-10 09:00:59 +05:00
Adrian Bob 81b05fb3ac BAEL-5638: Added display logged-in user details in Thymeleaf tutorial (#12524)
* BAEL-5638: Added display logged-in user details in Thymeleaf tutorial

* BAEL-5638: Removed unneeded security config
2022-08-04 09:24:49 +05:30
lucaCambi77 0ec6a036ba Spring Security: Upgrading the deprecated WebSecurityConfigurerAdapter (#12540)
* add SecurityFilterChain application in spring security web boot 4

* pmd violation

* fix: pom description

* remove unused code, format

* make tests grouped logically

* add missing case for user role

* rename package to lower case
2022-07-30 21:43:09 -05:00
kwoyke 0a84f748e1 Merge pull request #12513 from freelansam/JAVA-12754
JAVA-12754: Dissolve module spring-security-5
2022-07-20 11:04:56 +02:00
sampadawagde 073f099fdc JAVA-12754: Add next link to module 2022-07-18 20:27:47 +05:30
sampadawagde 3910819834 JAVA-12754: Moved 2 articles to spring-security-web-rest-basic-auth 2022-07-18 20:27:20 +05:30
sampadawagde 8faf52f363 JAVA-12754: Moved 2 articles to spring-security-web-rest-basic-auth 2022-07-18 20:25:59 +05:30
sampadawagde 0db8c73f75 JAVA-12754: Moved 2 articles to new module spring-security-web-login-2 2022-07-18 20:25:11 +05:30
sampadawagde b7033fadfd JAVA-12754: Moved 3 articles to spring-security-core-2 2022-07-18 20:21:49 +05:30
sampadawagde 4761c771c1 JAVA-12754: removed module spring-5-security 2022-07-18 20:20:42 +05:30
sampadawagde 7e0f6db35b JAVA-12754: parent module pom changes 2022-07-18 20:20:06 +05:30
freelansam d7c38b05d6 Merge branch 'master' into JAVA-13136 2022-07-15 10:01:48 +05:30
sampadawagde 2b5179baba JAVA-13136: Fix formatting of POMs 2022-07-15 09:59:54 +05:30
freelansam 7b1b24ad7c update pom to remove spring-social-login 2022-07-07 19:08:27 +05:30
freelansam 72a9941130 Merge branch 'master' into JAVA-12732 2022-07-06 15:36:58 +05:30
sampadawagde 6f91643aa2 resolve conflict 2022-07-06 15:34:15 +05:30
sampadawagde 6ae4a1aaf7 JAVA-12732: move spring-ldap into spring-security-ldap 2022-07-06 15:25:12 +05:30
sampadawagde acb9cc97cd JAVA-12732: move security filters article to spring-security-web-mvc 2022-07-06 15:10:08 +05:30
sampadawagde 3d8bef19ad JAVA-12731: Modify parent pom files 2022-06-30 22:14:38 +05:30
sampadawagde c8bc22acab JAVA-12731: Move spring-session into spring-web-modules 2022-06-30 22:13:57 +05:30
sampadawagde d5d2705ac3 JAVA-12732: modify parent pom 2022-06-30 20:08:15 +05:30
sampadawagde 2df103484d JAVA-12732: rename spring-5-security-oauth to spring-security-oauth2 2022-06-30 20:07:18 +05:30
sampadawagde e6faed98b6 JAVA-12732: rename spring-5-security-cognito to spring-security-cognito 2022-06-30 20:06:28 +05:30
sampadawagde 9fab7ade08 JAVA-12732: rename spring-social-login to spring-security-social-login 2022-06-30 20:05:54 +05:30
Asjad J b0ee0b0404 Updated README.md
added link back to the article: https://www.baeldung.com/spring-security-exceptionhandler
2022-06-21 11:28:00 +05:00
Greg Martin 997307e55f Merge pull request #12315 from tirumani03/dev/tirumani03/springSecurityException
BAEL-5533: Spring security exceptions
2022-06-18 10:54:32 -04:00
Dhawal Kapil a3a0fdfd96 JAVA-11241 Added missing pom.xml for container modules and other cleanup 2022-06-14 22:47:10 +05:30
Bhaskara Navuluri 502f947cdb Restored the deleted test file 2022-06-07 12:16:50 +05:30
Bhaskara Navuluri a26d45e5c0 Fixed the Integration Build Pipeline 2022-06-06 20:35:38 +05:30
Sarath Chandra 3816e3371a BAEL-5533: Spring security exceptions 2022-06-05 19:46:35 +05:30
Loredana Crusoveanu d330c8a991 Update README.md 2022-05-24 11:02:46 +03:00
panagiotiskakos 386707c24f [JAVA-10577] workaround for circular dependencies 2022-05-15 18:28:33 +03:00
Luis Javier Peris Morillo 8eadd92046 refactor: split spring security module (#12211)
Refs #BAEL-5339
2022-05-14 18:33:51 +02:00
Asjad J fd42698279 Created/Updated README.md
added link back to the article: https://www.baeldung.com/spring-security-authorization-opa
2022-05-10 06:27:02 +05:00
kwoyke 7c2845bc79 Merge pull request #12185 from freelansam/JAVA-11792
JAVA-11792: Fix formatting of POMs
2022-05-09 11:04:26 +02:00
sampadawagde aed8f9100b JAVA-11792: Fix formatting of POMs 2022-05-08 16:36:25 +05:30
johnA1331 bfbcabada0 Update README.md 2022-05-05 18:49:26 +08:00
psevestre 26d944ceaa [BAEL-5584] Article code (#12157) 2022-05-02 22:42:41 -07:00
johnA1331 d662408b20 Update README.md 2022-04-27 17:34:34 +08:00
Pablo Aragonés López 372bfb46a6 Exception Handler for Spring Security Resource Server (#12085)
* Exception Handler implemented for Spring Security Resource Server

* Renamed test class name to solve PMD Failure

* Code formatting
2022-04-25 19:50:22 +02:00
kwoyke 4bcb36ff41 Merge pull request #12022 from anuragkumawat/master
JAVA-8360 Split or move spring-5-security module
2022-04-06 14:34:34 +02:00
anuragkumawat bacd580822 JAVA-8360 Split or move spring-5-security module 2022-04-05 14:08:25 +05:30
Asjad J 1e66b4fc57 Updated README.md
Added link back to the article: https://www.baeldung.com/spring-security-map-authorities-jwt
2022-04-05 08:46:33 +05:00
psevestre 81e22da07c [BAEL-5259] Spring Security - Map Authorities from JWT (#11990)
* [BAEL-4849] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Remove extra comments

* [BAEL-5259] simple test case

* [BAEL-5259] DSL-based rewrite

* [BAEL-5259] Code formatting

* [BAEL-5259] Test case naming

* WIP: Article code

* [BAEL-5259] Tests

* [BAEL-5259] Tests
2022-03-30 22:04:02 -07:00
johnA1331 43b8b76b33 Update README.md 2022-03-16 21:21:51 +08:00
kwoyke cdc6380359 Merge pull request #11920 from freelansam/JAVA-10138
JAVA-10138 - Fix formatting of POMs
2022-03-14 15:00:17 +01:00
sampadawagde d2cea2ef06 resolve conflicts 2022-03-13 14:53:36 +05:30
sampadawagde b8176a265a JAVA-10138 - Fix formatting of POMs 2022-03-13 14:48:44 +05:30
lucaCambi77 bfd778c028 BAEL-5395 - Authentication with Spring Security and MongoDB (#11883)
* auth with spring security and mongodb

* fix PMD

* fix missing application property in tests

* fix: code style

* fix: static finale case

* fix: omit Javadoc
2022-03-10 20:48:37 -06:00
Asjad J 32c7041a18 Updated README.md
added a link back to the article: https://www.baeldung.com/spring-oauth2resttemplate
2022-03-07 19:35:42 +05:00
andresluzu 3687b7bc64 BAEL-5335: Introduction to OAuth2RestTemplate (#11849) 2022-03-04 20:25:02 -06:00
Asjad J b3a6dd04b3 Updated README.md
added link back to the article: https://www.baeldung.com/spring-security-enable-logging
2022-03-01 09:27:58 +05:00
lucaCambi77 cb65018f66 [ BAEL-5337 ] - Enable Logging for Spring Security (#11803)
* feat: logging application

* fix: apply formatter
2022-02-24 19:17:58 -06:00
sampadawagde 9d19160043 JAVA-9824: Identify boot modules not using parent-boot-2 as parent and
upgrade log4j for them
2022-02-22 21:53:39 +05:30
Benjamin Caure 437c050aee BAEL-5188 Add CSRF cookie protection + test (#11775)
* BAEL-5188 Add CSRF cookie protection + test

* BAEL-5188 Break long lines of code

* BAEL-5188 Remove line-breaks before semi-colons
2022-02-09 21:18:33 +05:30
Haroon Khan 80c3331851 [JAVA-9806] Upgrade Maven Cargo plugin to fix error 2022-02-06 18:32:17 +00:00
Krzysiek 5242966787 JAVA-9486: Use guava.version defined in the parent pom 2022-01-18 09:42:21 +01:00
Krzysiek 8c08be0403 JAVA-9123: POM properties cleanup 2022-01-17 14:03:32 +01:00
kwoyke 21b4b2433e JAVA-8984: Use embedded mongo version 4.4.9 (#11653) 2022-01-11 21:03:05 +05:30
johnA1331 6bf03f09c9 Update README.md 2021-12-29 19:14:09 +08:00
Bhaskara f16ed0b658 BAEL-4837 - Content Security Policy using Spring Security and Spring … (#11603)
* BAEL-4837 - Content Security Policy using Spring Security and Spring Boot

* Application Code

* Formatted the code

* Reformatted the test cases as per review comments

* Removed the formatters and deleted extra spaces

Co-authored-by: Bhaskara Navuluri <bhaskara.navuluri@hpe.com>
2021-12-26 08:14:50 +05:30
kwoyke 514e80aae7 Merge pull request #11585 from chaos2418/JAVA-3591
JAVA-3591: updating mockito-core to 4.1.0
2021-12-20 09:38:12 +01:00
chaos2418 000dcdf966 JAVA-3591: updating mockito-core to 4.1.0 2021-12-18 13:40:53 +05:30
Krzysiek 6ac9d1eb87 JAVA-8794: Fix circular dependency issue in spring-session-redis 2021-12-15 20:01:08 +01:00
Krzysiek d72347f195 JAVA-8794: Fix circular dependency issue in spring-security-web-thymeleaf 2021-12-15 19:53:30 +01:00
Krzysiek fafeb12f5c JAVA-8794: Fix circural dependencies in spring-security-core 2021-12-14 13:29:19 +01:00
Krzysiek 8fd644c450 JAVA-8794: Fix circural dependencies in spring-security-web-boot-2 2021-12-14 13:22:46 +01:00
Krzysiek bcbda9e7ff JAVA-8794: Use spring.mongodb.embedded.version=3.5.5 2021-12-14 12:54:02 +01:00
kwoyke f5c35ffe97 Merge pull request #11506 from eugenp/JAVA-3592
JAVA-3592: Upgrade h2 dependency in the main pom.xml
2021-11-25 13:31:47 +01:00
kwoyke c0a0247cf7 Merge branch 'master' into JAVA-3592 2021-11-25 09:03:54 +01:00
Krzysiek 8b280e689a JAVA-8667: Remove hamcrest dependency declarations from the child modules 2021-11-24 13:20:20 +01:00
kwoyke 1871d1a89c Merge pull request #11468 from chaos2418/JAVA-8405
JAVA-8405: reducing logging for tutorials-build-job
2021-11-23 13:43:19 +01:00
kwoyke 592376bf09 Merge pull request #11477 from freelansam/JAVA-3592
JAVA-3592: Upgrade h2 dependency in the main pom.xml
2021-11-22 09:22:17 +01:00
sampadawagde 848fa01e47 JAVA-3592: Upgrade h2 dependency in the main pom.xml 2021-11-19 23:17:22 +05:30
chaos2418 58e6087b3d JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +05:30
Loredana Crusoveanu f2fd110be1 Merge pull request #11456 from kwoyke/JAVA-7783
JAVA-7783: POM properties cleanup
2021-11-17 10:44:32 +02:00
mikr f4ee97e3bd JAVA-8393 Split or move spring-security-core module 2021-11-17 09:20:17 +01:00
Krzysiek 46df55b61e JAVA-7783: POM properties cleanup 2021-11-16 15:10:49 +01:00
freelansam 77e3e6a419 Merge branch 'master' into JAVA-8204 2021-11-09 18:20:05 +05:30
sampadawagde b984a4b618 JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
chaos2418 4a3a73111f JAVA-1672: removing redundant version declarations for surefire plugin 2021-11-08 13:41:04 +05:30
Benjamin Caure 502372a1de BAEL-4792 Stateless REST API and CSRF (#11398)
* Scan package for controller
Migrate deprecated Spring config

* BAEL-4792: enable CSRF + sample REST API request

* Adjust CSRF logs
2021-11-04 21:13:22 +01:00
Loredana Crusoveanu 7dfea6394e Merge pull request #11338 from chaos2418/JIRA-7734
Spring Boot 2.5.x compatible updates in spring-security-modules
2021-10-16 10:30:31 +03:00
davidmartinezbarua 918a3e7091 Merge pull request #11216 from azhwani/BAEL-5111
BAEL-5111: Improve the HandlerInterceptor Article
2021-10-15 14:05:18 -03:00
Shashank bfde84589c Spring Boot 2.5.x compatible updates in spring-security-web-boot-2 2021-10-14 08:51:03 +05:30
Shashank 80e3331e2a Merge branch 'master' of https://github.com/chaos2418/tutorials into JIRA-7734 2021-10-13 18:25:45 +05:30
Shashank 5d182c3472 moving spring-security-config module classes to spring-security-web-boot3 2021-10-13 16:40:42 +05:30
Shashank c85be32347 Spring Boot 2.5.x compatible updates in spring-security-acl 2021-10-13 09:54:36 +05:30
davidmartinezbarua d00d394011 Merge pull request #11298 from azhwani/BAEL-5100
BAEL-5100: Update Manual Logout With Spring Security
2021-10-12 19:52:30 -03:00
Loredana Crusoveanu e853b70bfc Merge pull request #11296 from johnA1331/master
BAEL-41828 - add links to github-baeldung articles
2021-10-07 09:04:16 +03:00
Azhwani d27ecd4557 init commit 2021-10-06 22:53:00 +02:00
johnA1331 24af8c898a Update README.md 2021-10-07 00:29:41 +08:00
Bhaskara be966d6d62 BAEL-1918 Spring StrictHttpFirewall and RequestRejectedException (#11265)
* BAEL-1918: Added code to for RequestRejectedException and StrictHttpFirewall tutorial

* BAEL-1918: Added code to for RequestRejectedException and StrictHttpFirewall tutorial

* BAEL:1918 - Modifed the code to accomodate comments from Michal

* BAEL:1918 - Modifed the code to accomodate comments from Michal
2021-09-29 14:49:24 -07:00
kwoyke 48bc32bad5 Merge pull request #11077 from rmkellogg/spring-saml-docs
Spring Security SAML - Minor documentation update & File Load Improvement
2021-09-24 21:10:49 +02:00
freelansam fe7d2af8c0 JAVA-7178: Fix formatting of POMs (#11236)
* JAVA-7178: Fix formatting of POMs

* JAVA-7178: fix failing build
2021-09-20 00:04:26 +05:30
kwoyke b441c62f0e JAVA-7177: Upgrade to Spring Boot 2.5.4 (#11218)
* JAVA-7177: Upgrade to Spring Boot 2.5.4

* JAVA-7177: Remove overriden Spring Boot version

* JAVA-7177: Leave spring-5-security-oauth on Spring Boot 2.5.2
2021-09-16 22:37:12 +05:30
kwoyke 6ed0aee6a0 JAVA-7133: POM Properties Cleanup (#11229)
* JAVA-7133: Use common org.slf4j.version property

* JAVA-7133: Use common logback.version property
2021-09-16 22:34:26 +05:30
Azhwani 29194d18e1 init commit 2021-09-12 13:13:51 +02:00
sampadawagde f8bea1acc2 JAVA-6439: review comments incorporated 2021-09-11 15:05:02 +05:30
sampadawagde a7fa2acb20 JAVA-6439: Check PR for spring-security-web-sockets module 2021-09-05 17:08:06 +05:30
Dhawal Kapil 77a32b7f37 JAVA-6216 Disabled npm build from default profiles (#11146)
* JAVA-6216 Disabled npm build from default profiles

* JAVA-6216 disabled frontend-maven-plugin from the build
2021-08-19 20:30:23 +05:30
Dhawal Kapil 1506232945 JAVA-6216 Updating frontend maven plugin and removing manually (#11143)
specifying maven version
2021-08-19 11:13:36 +05:30
Loredana Crusoveanu c247cb493f Merge pull request #11134 from johnA1331/master
BAEL-39537 - add links to github-baeldung articles
2021-08-18 12:48:46 +03:00
Hamid Reza Sharifi 6a042440d6 Bael 5067: Update "Prevent Cross-Site Scripting (XSS) in a Spring application" article (#11127)
* bael-5067: remove test case

* bael-5067: remove REST api

* bael-5067: remove XSS filter

Co-authored-by: sharifi <h_sharifi@modernisc.com>
2021-08-18 08:30:40 +01:00
johnA1331 cb008c25d3 Update README.md 2021-08-18 13:14:42 +08:00
Dhawal Kapil a4990d7d8f Enabled spring-security-web-reach module and fixed vulnerabilities in npm packages 2021-08-15 22:40:20 +05:30
rmkellogg dddf541bb8 Revised to use built in Sprint Security SAML resource resolution. Otherwise when used from Spring Boot self-contained JAR the File could not be located. 2021-08-02 16:05:00 -04:00
freelansam 32dde5b5d1 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
freelansam 5470ccfb97 JAVA-6474/JAVA-6324: Align module names, folder names and artifact id (#11071)
* JAVA-6474/JAVA-6324: Align module names, folder names and artifact id
(template)

* JAVA-6474/JAVA-6324: revert changes for guest modules
2021-07-28 20:10:03 +05:30
rmkellogg 404c05ad32 Added missing import. 2021-07-27 15:39:59 -04:00
rmkellogg 9c3bf05bb3 Correction to allow execution outside of Eclipse. 2021-07-27 15:32:47 -04:00
rmkellogg a20b32c413 Added comments on settings. 2021-07-27 15:30:33 -04:00
sampadawagde 181834efeb JAVA-5937: Analyse bean overriding fix in modules - Part 5 2021-07-12 22:52:58 +05:30
Dhawal Kapil 2c9bb8f04d JAVA-5975 Disabled spring-security-web-react, will be fixing in JAVA-6216 (#10981) 2021-06-29 22:48:40 +05:30
kwoyke eb1f4e1e90 JAVA-5875: Upgrade Spring Boot to 2.5.1 (#10956)
* JAVA-5875: Upgrade Spring Boot to 2.5.1

* JAVA-5875: Leave jta module on Spring Boot 2.4.7

* JAVA-5875: Update spring-boot-persistence-mongodb to use embedded Mongo 3.0

* JAVA-5875: Leave spring-data-dynamodb on Spring Boot 2.4.7

* JAVA-5875: ErrorController#getErrorPath has been removed

* JAVA-5875: Fix SQL Script DataSource Initialization

* JAVA-5875: ErrorController#getErrorPath has been removed

* JAVA-5875: Fix RepositoryRestConfigurer

* JAVA-5875: Fix issues caused by rest-assured upgrade

* JAVA-5875: Upgrade spring-cloud-dependencies to 2020.0.3

* JAVA-5875: Leave spring-boot-keycloak on Spring Boot 2.4.7

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Leave spring-security-legacy-oidc on Spring Boot 2.4.7

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Update de.flapdoodle.embed.mongo dependency

* JAVA-5875: Upgrade spring-cloud-dependencies to 2020.0.3

* JAVA-5875: Update Spring Cloud dependencies

* JAVA-5875: Update cloud dependencies

* JAVA-5875: Defer datasource initialization

* JAVA-5875: Fix rest assured version

* JAVA-5875: Fix Spring Batch serialization issue

* JAVA-5875: Update Spring Cloud Stream version

* JAVA-5875: Update Spring Kafka version

* JAVA-5875: Leave spring-zuul-rate-limiting on Spring Boot 2.4.7

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-26 01:20:37 +05:30
freelansam 10bb7e44ea JAVA-2436: renamed module spring-security-web-persisted-remember-me to (#10874)
* JAVA-2436: renamed module spring-security-web-persisted-remember-me to
spring-security-web-persistence

* JAVA-2436: removed redundant dependencies

* JAVA-2436: removed redundant dependency

* JAVA-2436: Move/rename module spring-security-web-persisted-remember-me

* JAVA-2436: clean up
2021-06-15 00:17:32 +05:30
kwoyke 339fb7ec44 JAVA-5408: Use common postgresql.version property (#10879)
* JAVA-5408: Use common postgresql.version property

* JAVA-5408: Cleanup spring-boot-react

* JAVA-5408: Use commons-cli.version property in libraries-data

* JAVA-5408: spring-security-modules cleanup

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-11 20:25:37 +05:30
kwoyke 42a0c6d966 Merge branch 'master' into JAVA-2399-Update_spring-security-rest_module_to_use_Swagger_3.0.0 2021-05-25 10:56:24 +02:00
sampadawagde 4b1f2c50a5 JAVA-5223: Fix formatting of POMs (Spring Security Modules) 2021-05-17 20:22:27 +05:30
mikr 18695338b1 JAVA-2399 Update spring-security-rest module to use Swagger 3.0.0 2021-05-14 18:01:30 +02:00
Krzysztof Woyke 600d0c4654 JAVA-4997: Fix junit version used 2021-04-28 20:50:30 +02:00
kwoyke 96e97ae79b BAEL-3907: spring-security-web-boot-1 cleanup (#10657)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-04-23 21:35:22 +02:00
johnA1331 3f3e27ee6a Update README.md 2021-04-07 16:39:07 +08:00
Greg d211a24aed Update pom.xml
Removed dulicate modules
2021-04-04 11:44:22 -04:00
Greg b1dbbdda46 Merge branch 'master' into BAEL-4828 2021-04-04 11:27:29 -04:00