Thank you very much for your answer. I'm familiar with spring security concepts. I have used spring mvc and thymeleaf as view technology and enabled spring security by exten...
Hello everyone. I have a question about software architecture. I have a big spring boot project that have different parts such as : Models Socket Rest API ... My project incl...
I have a jar file that contains very different logs from different packages and classes. I can trace its logging by : journalctl -f -u jarfileName But I'd like to filter the...
I have two spring boot server with its own mysql databases. Server(1) is main centralized large server with many clients, while server(2) is a small server located in a factor...
Question: I have a spring boot application that works with MySQL db. I have changed my database server from MySQL to MariaDB in my own server. Then I have restarted my tomcat ...
Thank you very much. Can i ask another question. Spring security uses these for authentication: -Authentication interface -userDetails.UserDetails class -userDetails.User clas...
Redirect to which url? For example: @RequestMapping("/docs") public String changeUrl(){ return "redirect:/swagger-ui.html"; } Now if I write : Http://localhost/docs It sh...
How can I combine Form-login and OAuth2 security in a spring boot project? I need it because I have both web and rest api sections. I could combine Form-login and Basic Authe...
Strange behavior in spring boot! I want to return a simple static html without .html in the URL. so I created a @Controller as the below: @ Controller public class Test{ ...
What is best way to model the following scenario with the hibernate + JPA? I have several product entities (different tables) which can be bought as retail or wholesale. The ...
#Thymeleaf-Spring I have a simple form with username and password. I want to show a error text message above form if this username/password does not exist in the database. (It...
How do I have to deploy an intellij idea project with 10 modules (5 module are executable in different ports and others are as library) in tomcat in ubuntu 18.04 server? Which...
How can I create a jar file from my module with updated jar dependencies? The mvn clean install command uses old jar dependencies that are stored in .m2 folder in my own ubunt...
Hello everyone. I need a feature that seems does not exist in the Intellij idea. I'm using debugging mode in a spring project and want to copy current state of an object by a...
Thank you. Which of the following ways do you recommend? Netty Rx-Netty Spring Reactor for netty I have a TCP server based on netty framework that is embedded (as jar file) w...
I have several temperature sensor in different places and want to save values each one minute for example. I want to consider a solution that meets my requirement when grows m...
Hi. I have deployed a war file from my local machine to a remote server. This war file is on the develope phase yet. So I want to debug my server code from intellij idea in my...
I have a monolithic aplication that want to convert in to several microservice. Suppose main task of the monolithic app is messaging. Also suppose I have several third party c...
What is difference between the two below ways in the spring data jpa? 1. deleteById(id) from CrudRepository 2. delete by @ Query: @ Modifying @ Query("delete from table t wh...
Hello everyone. I have configured spring security oauth2 in my project and its working fine. I'm supporting three grant_type methods (Authorization_code and password and refre...