How can I implement SecurityContextHolder in a generic base service while adhering to SOLID principles? [closed]
Stack Overflow » Spring
by
1w ago
I have an abstract base service that includes basic CRUD operations. However, there’s a situation where, for example, when saving a Post entity, I also need to save the User information who created ..read more
Visit website
Spring Boot 3.4.0 Read timed out using Http interface
Stack Overflow » Spring
by
1w ago
I was using the latest version Spring Boot 3.3.6 with HTTP interface like following: @Bean public RestRepositoryUser restRepositoryUser(@NonNull @Value("${gsrest.url}") String ..read more
Visit website
Java Spring: Unsupported Media Type with x-www-form-urlencoded body
Stack Overflow » Spring
by
1w ago
I'm working on a REST API using Spring and I'm trying to implement a POST endpoint that receives x-www-form-urlencoded data in it's body. This is my controller method so far: @PostMapping(value = & ..read more
Visit website
(Spring Boot (DATA JPA)) How can I ensure that each table can have multiple records with the same id without causing overwriting existing records?
Stack Overflow » Spring
by
1w ago
I am currently creating a POST endpoint that sends a request body containing an array of strings and other variables. I am trying to save this data into two different tables, both referencing the same ..read more
Visit website
Getting refresh_token null in springboot3.3 using oauth2 google
Stack Overflow » Spring
by
1w ago
I am using Spring boot 3.3 with below configuration Application.yaml :----- spring: security: oauth2: client: registration: google: client-id: xxxx client-secret: xx scope: profile, email, openid ..read more
Visit website
Hibernate Envers 5.6.15 mapping hbm ORM + envers annotation
Stack Overflow » Spring
by
1w ago
In my project, I configure Hibernate 5.6.15.Final with hbm xml mapping for my classes and when to use Hibernate Envers on these classes by annotation. On a class (Personne), I added @Audited ..read more
Visit website
Jakarta.mail.util.StreamProvider: org.eclipse.angus.mail.util.MailStreamProvider not a subtype after migrating to jakarta.mail
Stack Overflow » Spring
by
1w ago
So I am in the progress of migrating a Java 1.8 Spring 3 SpringMVC application with Spring Security running on Tomcat 9 to Spring 6 with Spring Security 6 running Java 17 on Tomcat 11, and I am not ..read more
Visit website
Spring Boot Error while building the application
Stack Overflow » Spring
by
1w ago
I'm getting the below error while building spring boot and it states that error creating the beans. Can you guide me through this on how we can resolve the error? 024-12-07T01:14:52.917+05:30 INFO ..read more
Visit website
How to publish slo/percentile distribution metrics for my micrometer timer?
Stack Overflow » Spring
by
1w ago
The question originally came from the problem with metrics configuration for Spring Cloud Gateway, as there are no documentation neither on Micrometer nor Spring Cloud nor Spring side. When i enable ..read more
Visit website
Is it possible to configure a converter for spring's HttpInterface?
Stack Overflow » Spring
by
1w ago
Let's say I'm given the below endpoint: GET /hello/{id}?idType={idType} where the allowed values of idType are ["loginId", "contactId"] I have to consume this service using ..read more
Visit website

Follow Stack Overflow » Spring on FeedSpot

Continue with Google
Continue with Apple
OR