Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move JWTVerifier from static to constructor #173

Closed
BalloonWen opened this issue Feb 18, 2021 · 1 comment · Fixed by #174
Closed

move JWTVerifier from static to constructor #173

BalloonWen opened this issue Feb 18, 2021 · 1 comment · Fixed by #174
Assignees

Comments

@BalloonWen
Copy link
Contributor

related to networknt/light-4j#897
if there's an exception in JwtVerifier, the server won't stop. Thus move it from static block to constructor

@BalloonWen BalloonWen self-assigned this Feb 18, 2021
BalloonWen added a commit that referenced this issue Feb 18, 2021
- move jwtVerifier initiation from static block to constructor so that if any failure it will stop the server.
stevehu pushed a commit that referenced this issue Feb 18, 2021
- move jwtVerifier initiation from static block to constructor so that if any failure it will stop the server.
@stevehu
Copy link
Contributor

stevehu commented Feb 18, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants