Commit Graph

330 Commits

Author SHA1 Message Date
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
hmdrzsharifi d7ad10fd9c bael-4828: remove classes and files from module spring-security-web-boot-2 2021-04-02 12:14:20 +04:30
hmdrzsharifi fbf4afa073 bael-4828: add readme to new maven module 2021-04-02 12:10:29 +04:30
hmdrzsharifi b4b9c55726 bael-4828: add resource files to new maven module 2021-04-02 12:09:57 +04:30
hmdrzsharifi 7f249e4133 bael-4828: add main source to new maven module 2021-04-02 12:09:36 +04:30
hmdrzsharifi 49769beacf bael-4828: add new maven module:spring-security-web-boot-3 2021-04-02 12:09:09 +04:30
Krzysztof Woyke ce89004e96 JAVA-3578: Verify sub-modules - spring-security-modules 2021-03-31 15:39:52 +02:00
Loredana Crusoveanu eb35265244 Merge pull request #10594 from kwoyke/JAVA-4529
JAVA-4529: Rename some unit tests to integration tests
2021-03-29 14:59:58 +03:00
Krzysztof Woyke bb8bac806a JAVA-4529: Rename some unit tests to integration tests 2021-03-26 10:57:39 +01:00
Krzysztof Woyke df93a6b9e6 JAVA-3295: Use project.build.sourceEncoding and project.reporting.outputEncoding from the main pom.xml 2021-03-24 09:37:43 +01:00
hmdrzsharifi 3a0e5ecf68 bael-4828: add keystore and certificate files 2021-03-21 12:30:03 +03:30
hmdrzsharifi 86a8634c78 bael-4828: add main source 2021-03-21 12:29:38 +03:30
kwoyke ce2e455d58 JAVA-3594: Upgrade esapi dependency in the main pom.xml (#10572)
* JAVA-3594: Upgrade esapi version in the main pom.xml

* JAVA-3594: Remove overriden esapi.version from the core-java-jvm

* JAVA-3594: Use esapi.version property instead of the hardcoded version in spring-5-security

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-03-19 22:39:41 +05:30
johnA1331 5ffb5e9eca Create README.md 2021-03-10 22:52:28 +08:00
Anshul BANSAL a767138fb1 Merge remote-tracking branch 'upstream/master' 2021-02-24 08:04:54 +02:00
Anshul BANSAL b12ad7859a xml formatting 2021-02-24 08:02:18 +02:00
Anshul BANSAL 77f90e9e00 xml formatting 2021-02-24 08:01:43 +02:00
Anshul BANSAL 0f6fc0b00f Code formatting 2021-02-24 08:00:01 +02:00
Anshul BANSAL bb5cf873c8 BAEL-4628 - Spring Security SAMl with Okta 2021-02-24 07:57:42 +02:00
Anshul BANSAL bc4ea42b7d Spring Security with SAML and Okta 2021-02-19 10:18:44 +02:00
johnA1331 540377c6a7 Update README.md 2021-02-18 04:33:47 +08:00
Anshul BANSAL 25e43334c4 Initial Commit 2021-02-14 18:11:20 +02:00
Hamid Reza Sharifi 89eb93a46c Bael-4684-Prevent Cross-Site Scripting (XSS) in a Spring application-(new) (#10480)
* #bael-4684: add main source code

* #bael-4684: add test

* #bael-4684: add required dependencies
2021-02-12 10:50:52 +00:00
johnA1331 676bc680f2 Update README.md 2021-02-11 19:06:27 +08:00
Gerardo Roza 59e4bd9811 updated deprecation: HandlerInterceptorAdapter class -> HandlerInterceptor interface 2021-01-20 12:37:10 -03:00
Krzysiek d450e4a2f8 JAVA-3588: Use common commons-fileupload.version property in all child modules 2021-01-08 20:01:27 +01:00
sampadawagde 5fcec971af JAVA-4011: README changes 2021-01-05 23:01:01 +05:30
sampadawagde af51e73604 JAVA-4011: Moved 1 article from spring-5-security to
spring-boot-security
2021-01-05 23:00:14 +05:30
Krzysztof Woyke 962e8839d6 Merge remote-tracking branch 'upstream/master' into JAVA-3570 2020-12-29 15:11:31 +01:00