Skip to content

Commit

Permalink
handled null for encryption properties (#1179)
Browse files Browse the repository at this point in the history
Signed-off-by: Loganathan Sekar <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>
  • Loading branch information
loganathan-sekaran and Loganathan Sekar authored Dec 14, 2023
1 parent 6fd7903 commit 1f8758a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ public class ResidentCredentialServiceImpl implements ResidentCredentialService
@Value("${mosip.resident.request.credential.credentialType}")
private String credentialType;

@Value("${mosip.resident.request.credential.isEncrypt}")
@Value("${mosip.resident.request.credential.isEncrypt:false}")
private boolean isEncrypt;

@Value("${mosip.resident.request.credential.encryption.key}")
@Value("${mosip.resident.request.credential.encryption.key:null}")
private String encryptionKey;

@Value("${mosip.registration.processor.rid.delimiter}")
Expand Down

0 comments on commit 1f8758a

Please sign in to comment.