Commit Graph

480 Commits

Author SHA1 Message Date
Michael Olayemi afb42b5674 How to Solve 403 Error in Spring Boot Post Request (#14303)
* How to Solve 403 Error in Spring Boot Post Request

* How to Solve 403 Error in Spring Boot Post Request
2023-07-08 19:20:38 +05:30
Bipin kumar c6a6279724 JAVA-22625: Changes made for module Q to S formatting the pom.xml (#14330) 2023-06-30 16:37:55 +05:30
anuragkumawat 44179d2187 Java 21460 Move code from spring-boot-swagger & spring-boot-swagger-2 to spring-boot-swagger-springfox module (#14310)
* JAVA-21460 Upgrade spring-boot-swagger-jwt modules to use SpringDoc in place of SpringFox

* JAVA-21460 Upgrade spring-boot-swagger-2 module to use SpringDoc in place of SpringFox

* JAVA-21460 Upgrade spring-boot-swagger module to use SpringDoc in place of SpringFox

* JAVA-21460 Move code from spring-boot-swagger & spring-boot-swagger-2 to  spring-boot-swagger-springfox module

* JAVA-21457 Upgrade spring-security-web-rest to use SpringDoc in place of SpringFox
2023-06-28 10:13:24 +05:30
Loredana Crusoveanu 5b65c7e54a Merge pull request #14216 from collaboratewithakash/master
backlink updated
2023-06-11 15:33:45 +03:00
Saikat Chakraborty 3eda2da25f Fix the integration tests which failed due to defined port (#14215) 2023-06-11 13:15:27 +05:30
collaboratewithakash 84a198c9bc backlinks removed 2023-06-09 15:29:11 +05:30
Loredana Crusoveanu 2c0482c409 Merge branch 'master' into master 2023-06-02 16:23:25 +03:00
edizor 4a2d613531 Update README.md
[skip ci]
2023-06-02 08:24:42 +08:00
collaboratewithakash d31833dcf1 backlink added 2023-06-01 12:21:46 +05:30
panos-kakos e917196734 [JAVA-20615] Upgraded spring-security-modules to jdk9-and-above profile (#14142)
* [JAVA-20615] Upgraded spring-security-modules to jdk9-and-above profile

* [JAVA-20615] test build

* [JAVA-20615] test build

* [JAVA-20615] Clean up
2023-05-31 22:26:25 +05:30
collaboratewithakash 03a9338aa6 backlink updated 2023-05-31 17:28:06 +05:30
collaboratewithakash 94c80dc35b backlink updated 2023-05-31 16:17:42 +05:30
collaboratewithakash 20d8fe1ff7 updated link 2023-05-27 15:00:11 +05:30
edizor 87001cac68 Create README.md
[skip ci]
2023-05-25 23:40:52 +08:00
Hamid Reza Sharifi f993296b0b Bael 5711: Securing Spring Boot API with API key and secret (#14102)
* #bael-5711: add source

* #bael-5711: remove extra space

* #bael-5711: remove extra space

* #bael-5711: remove extra space

* #bael-5711: add custom message

* #bael-5711: refactor return null

---------

Co-authored-by: h_sharifi <h_sharifi@modernisc.com>
2023-05-25 11:47:53 +02:00
Bipin kumar 74686f60a0 JAVA-21189: changes made for formatting modules starting from S (#14106) 2023-05-24 19:37:51 +05:30
Hamid Reza Sharifi a78c978c9b BAEL-5711: Securing Spring Boot API with API key and secret (#14015)
* #bael-5711: add source

* #bael-5711: remove extra space

* #bael-5711: remove extra space

* #bael-5711: remove extra space

---------

Co-authored-by: h_sharifi <h_sharifi@modernisc.com>
2023-05-18 10:50:26 +02:00
Saikat Chakraborty d37926eddf Bael 4582: Custom Authentication using shared secret (#13801)
* Spring custom security filter add

* Integration Tests add

* Add Project into parent pom

* refactor code

* refactor code

* remove .env and refactor code

* refactor code

* exclude auto configuration

* Refactored code

* removed ssl certificate for security

* Set session management to statelees

* Refactor tests

* Refactor authentication logic

* Refactor authentication logic

* Refactor authentication logic

* Remove unused code

* Remove unused code

* Remove unused appconfig
2023-05-16 20:03:45 +01:00
Kasra Madadipouya 7e404b3dfb JAVA-20555 use Java Base64 instead of deprecated Spring Base64Utils (#13941) 2023-05-05 12:58:11 +03:00
Dhawal Kapil 3d888b3561 Update README.md (#13905) 2023-04-25 19:49:12 +05:30
Dhawal Kapil 4dbe6acc18 Update README.md (#13904) 2023-04-25 19:04:52 +05:30
Dhawal Kapil 1dfd0a7e6d Update README.md (#13903) 2023-04-25 19:01:29 +05:30
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