Skip to content

Commit

Permalink
Mosip 30687 on demand template extraction removed the error message c…
Browse files Browse the repository at this point in the history
…hanges (#1185)

* MOSIP-30687 partner data changed

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-30687 partner data changed

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-30687 changes done for ondemand

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-30687 changes done  for exception

Signed-off-by: Neha Farheen <[email protected]>

* Changes in error message

Signed-off-by: Neha Farheen <[email protected]>

* Changes in error message

Signed-off-by: Neha Farheen <[email protected]>

* REmoved the error message related changes

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-31517 On demand changes error message removal

Signed-off-by: Neha Farheen <[email protected]>

* Changes done

Signed-off-by: Neha Farheen <[email protected]>

---------

Signed-off-by: Neha Farheen <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
  • Loading branch information
Neha2365 and Neha Farheen authored Feb 9, 2024
1 parent d8eaa5e commit d1c5833
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,6 @@ public final class IdAuthCommonConstants {
public static final String POLICY_DATA = "policy_data";

public static final String MISP_LIC_DATA = "misp_lic_data";

public static final String UNABLE_TO_IDENTIFY_ID = "Unable to identify the entered %s. Please try after few minutes";

private IdAuthCommonConstants() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ public AuthResponseDTO authenticateIndividual(@Validated @RequestBody AuthReques
if (IdAuthenticationErrorConstants.ID_NOT_AVAILABLE.getErrorCode().equals(e.getErrorCode())) {
ondemandTemplateEventPublisher.notify(authrequestdto, request.getHeader("signature"), partner, e,
authrequestdto.getMetadata());
e.getErrorTexts().add(0, String.format(IdAuthCommonConstants.UNABLE_TO_IDENTIFY_ID, authrequestdto.getIndividualIdType()));
}
auditHelper.auditExceptionForAuthRequestedModules(AuditEvents.AUTH_REQUEST_RESPONSE, authrequestdto, e);
IdaRequestResponsConsumerUtil.setIdVersionToObjectWithMetadata(requestWithMetadata, e);
Expand Down

0 comments on commit d1c5833

Please sign in to comment.