I'm currently trying to add security to my spring application and just want to know how can i add the credentials to the request so that it has the security acc
Is it possible to get the return value and method arguments from the same advice in Spring AOP? I am trying to implement some login based on return value and th
I have a Spring Security 5 Reactive Applications using the "@EnableWebFluxSecurity" annotation.For my frontend I am using Thymeleaf.Now I have the problem that
My app is in sticky immersive mode that the system navigation bar (I call it SNB) is hidden in running time of my app. It works well but exists one problem, it
application.yml server: port: 9001 application.properties server.port= 9001 code works when I use .properties file but when I am using .yml file no propert
I want to separate below numbers like as(00 to 04, 10 to 14, 20 to 24) 00000000000 00000000001 00000000002 00000000003 00000000010 00000000011 00000000012 00000
We are having problem uploading large Office files (Word, Excel) to Teams using MS Graph SDK for Java. Just wondering if anyone experienced the similar issue. H
I wrote a method that takes a JWT as a request and checks if the signature is valid. This is the unit test: @Test public void isValid() { final JwtValidator
For those of you who don't know, Scratch (scratch.mit.edu) is a programming language based around connecting 'blocks' of code in order to create a project. I h
I am trying to make a simple application using kotlin and spring boot which connects to mongodb and makes some operations there, however I am facing this issues
I have java code to connect to google drive using a service account, this works: JsonFactory JSON_FACTORY = new GsonFactory(); GoogleCredential credential = Go
I have a Spring Boot Controller with an endpoint that accepts the following Configuration class (as json). The class has the param maxIterations and has a @Size
I use this kafka configuration with spring cloud and spring boot 2.6.6: @Configuration @RefreshScope public class KafkaProducerConfig { @Bean(name = "nativeP
I'm trying to connect a weblogic server to my eclipse (photon) and I keep getting this error message: Error "does not contain a valid WebLogic Server install or
I cant connect java to MariaDB .I saw all similar questions answers but none has solved my problem. Here is my code : /** To change this license header, choose
I'm struggling on this problem, given that I'm probably making a basic mistake or I haven't got a clue what I'm doing. platform being a Zybook the problem rea
I add three annotations into empty PDF: call .setContents("...") call .setRichContents("..."); call .setContents("..."); and .setRichContents("..."); First anno
I want to know what exact software should I install before I run my automation project. Selenium web driver, selenium java, testNG, junit was installed but th
I've tried to get the offset from Kafka topic based on timestamp when I tried to run it was throwing null pointer error, Map<TopicPartition, Long> timest
I'm trying to generate the (.JAR) file using NetBeans 11.0, I have followed some answers like How to create a Jar file in Netbeans but I don't find the Packagin