Commit Graph

414 Commits

Author SHA1 Message Date
Hamid Reza Sharifi
00d01b2b7f 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
af36c291d7 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
de11e3cb6c JAVA-20555 use Java Base64 instead of deprecated Spring Base64Utils (#13941) 2023-05-05 12:58:11 +03:00
Dhawal Kapil
d858554c4e Update README.md (#13905) 2023-04-25 19:49:12 +05:30
Dhawal Kapil
37d45991b6 Update README.md (#13904) 2023-04-25 19:04:52 +05:30
Dhawal Kapil
003dffe326 Update README.md (#13903) 2023-04-25 19:01:29 +05:30
jsgrah-spring
0f41e957d3 JAVA-20481 (#13901)
Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-04-25 18:55:05 +05:30
edizor
d48726c527 Update README.md
[skip ci]
2023-03-30 21:12:49 +08:00
davidmartinezbarua
c1f09057de Merge pull request #13659 from muasif80/master
BAEL-6035
2023-03-22 14:05:07 -03:00
Muhammad Asif
764f96c26d BAEL-6035 2023-03-16 23:28:37 +05:00
edizor
fa943d8f46 Create README.md
[skip ci]
2023-03-17 00:43:31 +08:00
edizor
28e70847ab Create README.md
[skip ci]
2023-03-04 11:16:45 +08:00
ch4mpy
ae81947080 BAEL-6223 : ul (CONFIGURATION)
Revert move spring-security-oauth2-testing module declaration
2023-03-01 14:53:35 -10:00
ch4mpy
db2426fdc6 BAEL-6223 : ul (CONFIGURATION)
Anonymous test methods naming
2023-03-01 14:53:01 -10:00
ch4mpy
8253842dd2 BAEL-6223 : ul (CONFIGURATION)
Move spring-security-oauth2-testing module declaration
2023-03-01 14:20:41 -10:00
ch4mpy
2679f0fb64 Baeldung source format 2023-03-01 14:11:01 -10:00
ch4mpy
3a6f99223a Improve anonymous tests readability 2023-03-01 14:11:01 -10:00
ch4mpy
03c3de438c https://jira.baeldung.com/browse/BAEL-6223 2023-03-01 14:11:01 -10:00
psevestre
3438aea2c4 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
d790a0e0bd JAVA-12390 Enabled CORS (#13208) 2023-01-19 23:37:14 +05:30
jsgrah-spring
57975a0342 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
55810387b4 JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
edizor
9f83f8fdee Update README.md
[skip ci]
2022-12-15 16:31:55 +08:00
Adrian Bob
d367ec1550 Updated README (#13152) 2022-12-11 09:23:11 -08:00
TomVerkon
590b1713e3 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
8eff8418c2 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
a0fc7528df backlink fixed. 2022-12-05 16:28:32 +05:30
collaboratewithakash
5bf67fc672 backlink fixed. 2022-12-05 16:25:53 +05:30
anuragkumawat
818d181400 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
66544380ef Update README.md
[skip ci]
2022-11-25 14:33:35 +08:00
anuragkumawat
6d9bb7045c 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
188201d324 JAVA-15409: Fix formatting of POMs (#12992) 2022-11-18 00:26:06 +05:30
anuragkumawat
f97b7e631a 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
b1f897885e [ 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
bf65df139d Merge pull request #13024 from eugenp/lor6-patch-4
Update README.md
2022-11-13 18:09:41 +02:00
Loredana Crusoveanu
c0927809e3 Update README.md 2022-11-13 18:05:16 +02:00
Loredana Crusoveanu
5e7f9a018e Update README.md 2022-11-13 18:05:04 +02:00
Loredana Crusoveanu
6ab30899bc Merge pull request #12978 from collaboratewithakash/master
a few backlinks added
2022-11-07 09:49:22 +02:00
anuragkumawat
164e85326c 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
12ae50c5e5 Update README.md 2022-11-05 16:21:54 +05:30
Loredana Crusoveanu
86d1a19539 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
ab72e7a56a 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
a5f298f011 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
6a67caace3 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
b57861c33e 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
43a79ffec7 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
2ed8e5f5eb [JAVA-15663] Upgrde Boot to 2.7.5 2022-10-23 13:55:54 +01:00
anuragkumawat
519fd309d9 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
c68715054e 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
41ca1a2278 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