SUPPORT-9182: add extra logs 3
This commit is contained in:
parent
a9a5ac9a2f
commit
c5ddacc405
1 changed files with 3 additions and 1 deletions
|
|
@ -184,12 +184,14 @@ public class EsiaAuthService {
|
||||||
|
|
||||||
public void authEsiaTokensByCode(String esiaAuthCode, String state, HttpServletResponse response, HttpServletRequest request) {
|
public void authEsiaTokensByCode(String esiaAuthCode, String state, HttpServletResponse response, HttpServletRequest request) {
|
||||||
long startReqTime = System.currentTimeMillis();
|
long startReqTime = System.currentTimeMillis();
|
||||||
long startSubReqTime;
|
long startSubReqTime = startReqTime;
|
||||||
String esiaAccessTokenStr = null;
|
String esiaAccessTokenStr = null;
|
||||||
String prnOid = null;
|
String prnOid = null;
|
||||||
Long expiresIn = null;
|
Long expiresIn = null;
|
||||||
long signSecret = 0, requestAccessToken = 0, verifySecret = 0;
|
long signSecret = 0, requestAccessToken = 0, verifySecret = 0;
|
||||||
verifyStateFromCookie(request, state, response);
|
verifyStateFromCookie(request, state, response);
|
||||||
|
LOGGER.info("Thread {} - Verify state from cookie: {} ms", Thread.currentThread().getId(), System.currentTimeMillis() - startSubReqTime);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
String clientId = esiaConfig.getClientId();
|
String clientId = esiaConfig.getClientId();
|
||||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy.MM.dd HH:mm:ss xx");
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy.MM.dd HH:mm:ss xx");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue