Commit Graph

537 Commits

Author SHA1 Message Date
Amit Pandey 3253f44784 Java-29290 :- Upgrade spring-security-core-2 to use Spring Boot 3 (#15491)
* Made changes to upgrade to Spring Boot 3 from Boot 2

* JAVA-29290 :- Changed to use @Import for initializing the config.

* JAVA-29290 :- Made changes to use authorizeHttpRequests as authorizeRequests is deprecated

* Minor formatting fixes

* JAVA-29290 : Formatting changes
2024-01-06 17:12:08 +01:00
Amit Pandey ff11a92e8a [JAVA-29171] Upgrade spring-security-core module to Spring Boot 3 (#15487) 2024-01-05 09:10:00 +01:00
Bipin kumar 581e34a278 JAVA-28508: Fix formatting of POMs Modules R to Z (#15361) 2024-01-04 20:53:15 +02:00
timis1 906faa4fa6 JAVA-29305 Upgrade spring-security-web-boot-2 (#15510)
* JAVA-29305 Upgrade spring-security-web-boot-2

* JAVA-29305 Formatting code

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2024-01-04 16:43:24 +01:00
timis1 13b0d9d0f8 JAVA-29304 Upgrade spring-security-web-boot-1 (#15488)
* JAVA-29304 Upgrade spring-security-web-boot-1

* JAVA-29304 Removing explicit version for rest-assured

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-12-30 13:46:56 +01:00
timis1 a5b9e8fde2 JAVA-29329 Upgrade spring-security-web-rest-basic-auth (#15457)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-12-24 16:07:57 +01:00
timis1 37bddcdfce JAVA-29331 Upgrade spring-security-web-sockets (#15468)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-12-24 14:06:05 +01:00
timis1 c143ccdf78 JAVA-29334 Upgrade spring-security-web-x509 (#15447)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-12-19 20:47:41 +01:00
panos-kakos cf858a1493 Java 27490 (#15217)
* [JAVA-27490] Set java.version of JDK 9+ profile to JDK 17

* [JAVA-27490] Removed java.version from modules

* [JAVA-27490] Commented modules that are failing

* [JAVA-27490] Clean up

* [JAVA-27490] Clean up
2023-12-05 10:43:20 +05:30
timis1 e6501ada07 JAVA-26705 Upgrade lombok to latest version (#15305)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-12-03 21:19:12 +02:00
Maiklins 3643c289c7 Merge pull request #15256 from Michaelin007/master
Update article HttpSecurity vs. WebSecurity
2023-11-30 21:22:55 +01:00
michaelin007 dea22a6863 Update article httpsecurity vs websecurity 2023-11-30 18:42:41 +00:00
michaelin007 339b269caa Update article httpsecurity vs websecurity 2023-11-30 18:35:21 +00:00
Harry9656 f3e865d163 Merge branch 'master' into task/JAVA-26765 2023-11-30 00:58:57 +01:00
Harpal Singh 179e6e5de2 JAVA-26765: Remove unwanted spaces from xml 2023-11-24 00:13:52 +01:00
gaepi 760481ec04 JAVA-27657 | Replacing deprecated WebSecurityConfigurerAdapter 2023-11-22 15:41:49 +01:00
Harry9656 a76341d307 JAVA-26765: Update spring-security-web-boot-2 to new mysql connector 2023-11-21 06:30:57 +01:00
Harry9656 275de7fd81 JAVA-26765: Update spring-security-web-boot-1 to new mysql connector 2023-11-21 06:27:21 +01:00
Loredana Crusoveanu 925eb644ea Merge pull request #14948 from SamsterZero/patch-1
To change default redirect
2023-11-09 14:19:18 +02:00
Kasra Madadipouya a11bef868b Merge pull request #15080 from anuragkumawat/JAVA-26380
JAVA-26380 Change parent of spring-security-modules- Check build failures
2023-11-08 22:49:17 +01:00
anuragkumawat c7a4c2f623 Merge branch 'eugenp:master' into JAVA-26380 2023-11-03 18:39:01 +05:30
gaepi f49e4d9349 JAVA-18614 | fixing log-out. 2023-10-31 18:44:49 +01:00
gaepi 44aea845c9 JAVA-18614 | fixing log-out. 2023-10-31 18:41:10 +01:00
edizor a068b3886f Update README.md
[skip ci]
2023-10-29 07:00:26 +08:00
anuragkumawat 246d83d49d JAVA-26380 Update parent of child modules to use immediate parent 2023-10-28 13:19:47 +05:30
anuragkumawat bb9a96d9b3 JAVA-26380 Change parent of spring-security-modules- Check build failures 2023-10-27 22:48:52 +05:30
Kasra Madadipouya e23cb46bad Merge pull request #15061 from anuragkumawat/JAVA-26283
JAVA-26283 Improve module build time
2023-10-25 23:10:09 +02:00
davidmartinezbarua 29d0e4f04c Merge pull request #14882 from Finniki/httpvswebsecurity
Httpvswebsecurity
2023-10-24 14:44:14 -03:00
anuragkumawat 46f3aac299 JAVA-26283 Improve module build time 2023-10-24 14:10:17 +05:30
Rufina Uche 643da80391 Update WebSecurityConfig.java 2023-10-21 19:17:05 +01:00
Rufina Uche b17ab69f4d Update HttpSecurityConfig.java 2023-10-21 19:15:13 +01:00
Jérôme Wacongne 8f3b5ecc2b spring-boot 3.1 and spring-addons 7.1.10 (#14902) 2023-10-20 09:11:41 +05:30
timis1 9e2e523da7 JAVA-25805 Remove logback-test.xml 2023-10-19 12:42:36 +03:00
Rufina Uche 0bbc9163f9 Update WebSecurityConfig.java 2023-10-14 21:50:59 +01:00
Rufina Uche 4fb3cb2577 Update HttpSecurityConfig.java 2023-10-14 21:49:30 +01:00
Rufina Uche 9fcdc43c5c Update pom.xml 2023-10-14 21:45:28 +01:00
timis1 696ac5670a JAVA-25805 Review log statements for projects - Week 41 - 2023 2023-10-14 17:09:16 +03:00
Vinay Mhatre 23124ab6f8 To change default redirect
Previously after logging in we used to get the desired index page, but the address bar still had the "/login" in the address bar, this code fixes that
2023-10-11 18:26:22 +05:30
Rufina Uche 4eb6c11b40 Rename WebSecurityConfig.java to WebSecurityConfig.java 2023-10-09 20:59:22 +01:00
Rufina Uche ad0932acd1 Rename HttpSecurityConfig.java to HttpSecurityConfig.java 2023-10-09 20:57:03 +01:00
Rufina Uche 7fcd8a271b Update pom.xml 2023-10-09 20:53:46 +01:00
Rufina Uche 0e8c249abd Update pom.xml 2023-10-09 20:53:04 +01:00
Rufina Uche 8177e74307 Update WebSecurityConfig.java 2023-10-07 12:49:07 +01:00
Rufina Uche 1b1ba05a50 Update HttpSecurityConfig.java 2023-10-07 12:44:06 +01:00
Rufina Uche 5446928547 Update pom.xml
add necessary dependencies
2023-09-30 13:15:37 +01:00
Rufina Uche 9058fad822 Create WebSecurityConfig.java 2023-09-30 13:14:08 +01:00
Rufina Uche 5f016b6220 Create HttpSecurityConfig.java 2023-09-30 13:11:57 +01:00
kasramp ef2de84e4e JAVA-23096 revert slf4j and logback upgrades 2023-08-30 15:54:25 +02:00
Kasra Madadipouya 00033ecc3d Merge branch 'master' into JAVA-23096 2023-08-28 17:17:52 +02:00
Kasra Madadipouya 0442ffac11 Merge pull request #14667 from panos-kakos/TASK-23099
[JAVA-23099] Upgraded maven plugins
2023-08-28 17:13:16 +02:00
panos-kakos b9e8f39c00 [JAVA-23099] Upgraded maven-war-plugin to latest version 2023-08-28 09:02:54 +03:00
panos-kakos fdf58ba3ca [JAVA-23096] Defined logback & slf4j version for jdk8 modules 2023-08-24 08:16:46 +03:00
anuragkumawat 9443ad7229 JAVA-24001 Check Article Code Matches GitHub - Week 33 - 2023 2023-08-13 13:20:17 +05:30
collaboratewithakash f5a3e4da6a backlink updated 2023-08-11 12:33:16 +05:30
Bipinkumar27 cd6c92328d JAVA-22440: Changes made for adding Add missing submodule in respective container modules 2023-07-26 21:35:26 +05:30
Michael Olayemi 8553d79655 How to get active user's UserDetails with AuthenticationPrincipal (#14398) 2023-07-15 07:10:27 +05:30
edizor fd6daf4355 Update README.md
[skip ci]
2023-07-13 20:12:10 +08:00
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