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;
|
||||
}
|
||||
catch (Exception e) {
|
||||
status = AuditConstants.FAILURE_STATUS_TYPE;
|
||||
if (e instanceof EsiaException || e instanceof JsonProcessingException) {
|
||||
throw new EsiaException(e);
|
||||
}
|
||||
catch (JsonProcessingException e) {
|
||||
throw new EsiaException(e);
|
||||
}
|
||||
finally {
|
||||
if (status == null) {
|
||||
status = AuditConstants.FAILURE_STATUS_TYPE;
|
||||
}
|
||||
if (orgInfo!= null){
|
||||
auditService.processAuthEvent(request, orgInfo, prnOid, status,
|
||||
AuditConstants.LOGIN_EVENT_TYPE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue