0

I have a Spring JWT Project and Spring Rest Services which are deployed separately. I have to do authentication and authorization stuff by calling Spring JWT Service. I'm new to this though but I have good understanding. Any one having idea how to achieve this.

Note: Spring 4.x, Spring Security 4.x and Hibernate 5.x with Java based configuration

Cœur
  • 37,241
  • 25
  • 195
  • 267
Safdar Akrami
  • 245
  • 1
  • 3
  • 12
  • I've successfully implemented a spring rest project with spring security with JWT. Cant understand what do you mean by _Spring JWT project_. And '_deployed separately_' – Ramanujan R Dec 12 '16 at 09:31
  • I mean Spring Security with Jwt is the project I'm are using for the Authentication and Authorization Stuff. In my actual project, I would be hitting the endpoint of Spring Security with JWT for validating the token. – Safdar Akrami Dec 13 '16 at 05:54
  • As per my understanding, I dont think you can create a separate Spring Security project to do auth stuff for your actual Spring Rest project. All you need to do is, integrate Spring Security in your actual Spring Rest project. – Ramanujan R Dec 13 '16 at 06:06
  • 1
    I was able implement this by using custom AuthenticationTokenFilter. – Safdar Akrami Dec 28 '16 at 17:12
  • 1
    Please share your solution as answer and mark as accepted. – Ramanujan R Dec 29 '16 at 06:33

0 Answers0