Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am new Spring Core and Spring Security as well, but currently I am solving task where I have to implement authentication over JWT.
I do some research and I fount 2 solutions.
Make authentication with Spring Security, with OAuth2 module
Second option is using JJWT library. The majority of guides which I found were with JJWT.
Can you tell me what is better to use and why? Thanks.
Check out the answer of this it will help you. JWT vs OAuth authentication
You can use OAuth2 with JWT together.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a google cloud compute engine where the external ip is 35...*. I put my Spring boot jar in the folder and ran java -jar app.jar. The jar is starting.
However, when i use postman to call the endpoint of the spring, i do not get a response.
eg http://35...*/getallusers
Must I add some configurations for this to work?
You most likely haven’t configured the firewall rules correctly.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I have a complete Spring Boot project, and I need to delete records from database under specific conditions every 48 hours.
I have to meet a deadline, is it worth it to learn and use Spring Batch for this purpose or is there any other way to do it?
You could create a new Spring Bean using the #Component annotation or reuse a service bean. Then, implement a method to delete this records and use the #scheduled annotation to configure when this method has to be executed.
Don't forget to add the #EnableAsyng annotation on your Spring Boot configuration class
Visit the Spring site and find for Scheduling documentation
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Was looking for example of integrating captcha (any kind recaptcha, kaptcha ..) with Spring Boot on Login Page using Spring Security, using custom implementation of org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter;
Also how do i send additional params to userDetailsService class from Login Page ?
Thanks
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I have developed a set of Web services in Jersey which I am now accessing through a Jersey client application. However I would also like to have a Web UI for human users to access the Web services. Some of the interfaces will also need to use Google maps. I would like some advice on which is the best framework to use with Jersey for building these Web UIs that can get me quickly up and running. Preferably I would like to use template based solutions for generating HTML pages if possible.
Jersey comes with a simple MVC framework built-in. It has built in support for JSPs which you could leverage...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am working on making Jersey web services available using OAuth2 to other clients and am having a tough time finding libraries that tie in nicely with Jersey. So far I have looked at the following libraries.
http://static.springsource.org/spring-security/oauth/support.html
We got the demo working, but do not want to use spring security.
https://labs.ericsson.com/apis/oauth2-framework/downloads
This is tied tightly to RESTLet.
http://wiki.apache.org/incubator/AmberProposal
We looked briefly, but it hard to tell the status of the project.
https://bitbucket.org/smartproject/oauth-2.0/wiki/Home
We just started looking at this one as well.
The main goal we have is simple integration with Jersey as a Resource Provider.
We ended up using Amber, modifying the endpoints from the integration tests as needed.
oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/