Commit Graph

414 Commits

Author SHA1 Message Date
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