liubao68 commented on a change in pull request #2530:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/2530#discussion_r696227471
##########
File path:
handlers/handler-publickey-auth/src/main/java/org/apache/servicecomb/AuthHandlerBoot.java
##########
@@ -41,7 +41,7 @@ public void onBootEvent(BootEvent event) {
RSAKeypair4Auth.INSTANCE.setPrivateKey(rsaKeyPairEntry.getPrivateKey());
RSAKeypair4Auth.INSTANCE.setPublicKey(rsaKeyPairEntry.getPublicKey());
RSAKeypair4Auth.INSTANCE.setPublicKeyEncoded(rsaKeyPairEntry.getPublicKeyEncoded());
-
RegistrationManager.INSTANCE.getMicroserviceInstance().getProperties().put(DefinitionConst.INSTANCE_PUBKEY_PRO,
+
RegistrationManager.INSTANCE.getMicroservice().getProperties().put(DefinitionConst.INSTANCE_PUBKEY_PRO,
Review comment:
add a configuration , default put public key in Microservice, if the
configuration is set, then put in Instance.
--
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]