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

Add constructor to allow manual dependency injection in tests #192

Conversation

andreas-eberle
Copy link
Contributor

Currently the classes JWTHttpAuthenticationMechanism.java and DefaultJWTParser.java cannot be used in unit tests, since there is no way to inject their dependencies. This PR adds an additional constructor for manual dependency injection.

…arser and JWTHttpAuthenticationMechanism during testing
@andreas-eberle andreas-eberle force-pushed the make-default-jwt-parser-useable-in-tests branch from 3ba9fad to 962e2c9 Compare February 28, 2020 13:24
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 this pull request may close these issues.

2 participants