-
Notifications
You must be signed in to change notification settings - Fork 3
Feat/hardening #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/hardening #129
Conversation
d117ffc
to
7b025de
Compare
...in/java/org/sdase/commons/spring/boot/web/security/validation/HttpMethodsSecurityAdvice.java
Outdated
Show resolved
Hide resolved
.../main/java/org/sdase/commons/spring/boot/web/security/validation/SdaContainerCustomizer.java
Outdated
Show resolved
Hide resolved
7b025de
to
eb7cbac
Compare
Test Results 48 files + 10 48 suites +10 1m 3s ⏱️ +19s For more details on these failures, see this check. Results for commit d36a574. ± Comparison against base commit 807fb57. This pull request removes 1 and adds 112 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
09248cc
to
23b044d
Compare
d39368f
to
1571f52
Compare
76f4260
to
4cc9a85
Compare
...re/src/main/java/org/sdase/commons/spring/boot/web/jackson/SdaObjectMapperConfiguration.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/sdase/commons/spring/boot/web/security/handler/ObscuringErrorHandler.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/sdase/commons/spring/boot/web/security/handler/RunTimeExceptionHandler.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/sdase/commons/spring/boot/web/security/headers/EnableFrontendSecurity.java
Show resolved
Hide resolved
...ain/java/org/sdase/commons/spring/boot/web/security/validation/CustomObjectMapperAdvice.java
Outdated
Show resolved
Hide resolved
...in/java/org/sdase/commons/spring/boot/web/security/validation/HttpMethodsSecurityAdvice.java
Outdated
Show resolved
Hide resolved
...s-web-autoconfigure/src/main/resources/org/sdase/commons/spring/boot/web/defaults.properties
Outdated
Show resolved
Hide resolved
.../test/java/org/sdase/commons/spring/boot/web/security/handler/ObscuringErrorHandlerTest.java
Show resolved
Hide resolved
.../test/java/org/sdase/commons/spring/boot/web/security/handler/ObscuringErrorHandlerTest.java
Show resolved
Hide resolved
...ure/src/test/java/org/sdase/commons/spring/boot/web/security/headers/RequestHeadersTest.java
Outdated
Show resolved
Hide resolved
...t/java/org/sdase/commons/spring/boot/web/security/headers/RestfulApiSecurityHeadersTest.java
Outdated
Show resolved
Hide resolved
@SpringBootApplication | ||
@RestController | ||
@EnableSdaRestGuide | ||
@EnableSdaWebSecurity | ||
public class SecurityTestApp { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to compare the suggested annotations because I expected only one SDA annotation @EnableSdaPlatform
.
I went through the documentation but I could not find a nice howto that tells me how I write a service using Spring Boot Commons. Is this the right place to search for the documentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not need any of these annotations due to auto configuration. I'll take a look how to use auto configuration for the security settings.
Yes, that is the right place for documentation. Maybe we should also add a quick start page, where we document the bare minimum of a build.gradle
, the application class and the application.properties
. But imho that would be another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this information help us creating our own auto config?
https://www.baeldung.com/spring-boot-custom-auto-configuration#creating-a-custom-auto-configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imho that article is already outdated. spring.factories
has been replaced by the config we are using..
d7b8a29
to
94d7ea0
Compare
7396263
to
397ff69
Compare
168ecdb
to
a732f09
Compare
69ac972
to
1ae44cf
Compare
9faf064
to
55370e9
Compare
55370e9
to
922f8ea
Compare
922f8ea
to
d36a574
Compare
Kudos, SonarCloud Quality Gate passed! |
No description provided.