szerhusenBC / jwt-spring-security-demo

A demo for using JWT (Json Web Token) with Spring Security and Spring Boot 2
MIT License
3.04k stars 1.33k forks source link

Extrator for header token #80

Closed eduardo-sl closed 6 years ago

eduardo-sl commented 6 years ago

I would like to validate the idea with you before continuing. With this method we avoid leaving such codes. Ex: token.substring (7). Suggestions and critics are welcome.

Check the implementation in https://github.com/eduspinelli/restaurant-choice/tree/master/server/src/main/java/com/restaurant/choice/security