|
1 | 1 | # jwt-spring-boot
|
2 | 2 | JWT integration with Spring Boot as 'Bearer Token'.
|
3 | 3 |
|
4 | | -It Helps to integrate any implementation of JWT with Spring Boot as Security Provider |
5 | | - |
6 | | -Clases in impl package are Vendor and Client Specific. Current implementation gives an idea to achieve the same. |
| 4 | +It Helps to integrate any implementation of JWT with Spring Boot as Security Provider. |
7 | 5 |
|
8 | 6 | # How To:
|
9 | | - First Generate the token from JWTTokenTest class under test package. |
10 | | - Start ApplicationMain class, it will start application with tmcat running at '8080' port and 'jwt' as applicaton deploy point. |
11 | | - Use any Rest Client like Postman, Set Authorization header to 'Bearer *****'. (Generated in First Step) |
12 | | - Hit http://localhost:8080/jwt/user/get |
| 7 | +1. First Generate the token from JWTTokenTest class under test package. |
| 8 | +2. Start ApplicationMain class, it will start application with tmcat running at '8080' port and 'jwt' as applicaton deploy point. |
| 9 | +3. Use any Rest Client like Postman, Set Authorization header to 'Bearer *****'. (Generated in First Step) |
| 10 | +4. Hit http://localhost:8080/jwt/user/get |
13 | 11 |
|
14 | 12 | # NOTE:
|
15 | | - Current implementation generates token with 5 minutes expiry. |
| 13 | + - Current implementation generates token with 5 minutes expiry. |
| 14 | + - Clases in impl package are Vendor/Client Specific. Current implementation gives an idea to achieve the same. |
0 commit comments