Skip to content

Commit

Permalink
fixes #140 handle the condition that bootstrapFromKeyService doesn't …
Browse files Browse the repository at this point in the history
…exist
  • Loading branch information
stevehu committed Dec 12, 2017
1 parent a84431e commit d35058b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ static public X509Certificate readCertificate(String filename)

static {
// load local public key certificates only if bootstrapFromKeyService is false
if(Boolean.FALSE.equals(bootstrapFromKeyService)) {
if(bootstrapFromKeyService == null || Boolean.FALSE.equals(bootstrapFromKeyService)) {
certMap = new HashMap<>();
fingerPrints = new ArrayList<>();
Map<String, Object> keyMap = (Map<String, Object>) securityJwtConfig.get(JwtHelper.JWT_CERTIFICATE);
Expand Down

0 comments on commit d35058b

Please sign in to comment.