SUPPORT-9287
This commit is contained in:
parent
a9d4ff0f83
commit
29d1fcc524
1 changed files with 5 additions and 5 deletions
|
|
@ -287,13 +287,13 @@ public class EsiaAuthService {
|
||||||
}
|
}
|
||||||
status = AuditConstants.SUCCESS_STATUS_TYPE;
|
status = AuditConstants.SUCCESS_STATUS_TYPE;
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (JsonProcessingException e) {
|
||||||
status = AuditConstants.FAILURE_STATUS_TYPE;
|
throw new EsiaException(e);
|
||||||
if (e instanceof EsiaException || e instanceof JsonProcessingException) {
|
|
||||||
throw new EsiaException(e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
|
if (status == null) {
|
||||||
|
status = AuditConstants.FAILURE_STATUS_TYPE;
|
||||||
|
}
|
||||||
if (orgInfo!= null){
|
if (orgInfo!= null){
|
||||||
auditService.processAuthEvent(request, orgInfo, prnOid, status,
|
auditService.processAuthEvent(request, orgInfo, prnOid, status,
|
||||||
AuditConstants.LOGIN_EVENT_TYPE);
|
AuditConstants.LOGIN_EVENT_TYPE);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue