dsmiley commented on a change in pull request #606:
URL: https://github.com/apache/solr/pull/606#discussion_r801753488
##########
File path:
solr/modules/jwt-auth/src/test/org/apache/solr/security/jwt/JWTAuthPluginTest.java
##########
@@ -64,21 +64,30 @@
// Shared with other tests
static HashMap<String, Object> testJwk;
+ public static Path JWT_TEST_PATH() {
+ return getFile("solr/security").getParentFile().toPath();
+ }
+
static {
- // Generate an RSA key pair, which will be used for signing and
verification of the JWT, wrapped in a JWK
+ // Generate an RSA key pair, which will be used for signing and
verification of the JWT, wrapped
+ // in a JWK
try {
rsaJsonWebKey = RsaJwkGenerator.generateJwk(2048);
rsaJsonWebKey.setKeyId("k1");
testJwk = new HashMap<>();
testJwk.put("kty", rsaJsonWebKey.getKeyType());
- testJwk.put("e",
BigEndianBigInteger.toBase64Url(rsaJsonWebKey.getRsaPublicKey().getPublicExponent()));
+ testJwk.put(
+ "e",
+
BigEndianBigInteger.toBase64Url(rsaJsonWebKey.getRsaPublicKey().getPublicExponent()));
Review comment:
Can we please apply formatting in a separate PR/commit and then exclude
this from `.git-blame-ignore-revs` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]