mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
(finally) downgrade some of the every-freaking-request session logging
This commit is contained in:
@ -196,7 +196,7 @@ public class Auth0AuthenticationModule implements QAuthenticationModuleInterface
|
|||||||
// process a sessionUUID - looks up userSession record - cannot create token this way. //
|
// process a sessionUUID - looks up userSession record - cannot create token this way. //
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////
|
||||||
String sessionUUID = context.get(SESSION_UUID_KEY);
|
String sessionUUID = context.get(SESSION_UUID_KEY);
|
||||||
LOG.debug("Creating session from sessionUUID (userSession)", logPair("sessionUUID", maskForLog(sessionUUID)));
|
LOG.trace("Creating session from sessionUUID (userSession)", logPair("sessionUUID", maskForLog(sessionUUID)));
|
||||||
if(sessionUUID != null)
|
if(sessionUUID != null)
|
||||||
{
|
{
|
||||||
accessToken = getAccessTokenFromSessionUUID(metaData, sessionUUID);
|
accessToken = getAccessTokenFromSessionUUID(metaData, sessionUUID);
|
||||||
@ -254,7 +254,7 @@ public class Auth0AuthenticationModule implements QAuthenticationModuleInterface
|
|||||||
// decode the credentials from the header auth //
|
// decode the credentials from the header auth //
|
||||||
/////////////////////////////////////////////////
|
/////////////////////////////////////////////////
|
||||||
String base64Credentials = context.get(BASIC_AUTH_KEY).trim();
|
String base64Credentials = context.get(BASIC_AUTH_KEY).trim();
|
||||||
LOG.info("Creating session from basicAuthentication", logPair("base64Credentials", maskForLog(base64Credentials)));
|
LOG.trace("Creating session from basicAuthentication", logPair("base64Credentials", maskForLog(base64Credentials)));
|
||||||
accessToken = getAccessTokenFromBase64BasicAuthCredentials(metaData, auth, base64Credentials);
|
accessToken = getAccessTokenFromBase64BasicAuthCredentials(metaData, auth, base64Credentials);
|
||||||
}
|
}
|
||||||
catch(Auth0Exception e)
|
catch(Auth0Exception e)
|
||||||
@ -273,7 +273,7 @@ public class Auth0AuthenticationModule implements QAuthenticationModuleInterface
|
|||||||
// process an api key - looks up client application token (creating token if needed) //
|
// process an api key - looks up client application token (creating token if needed) //
|
||||||
///////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////
|
||||||
String apiKey = context.get(API_KEY);
|
String apiKey = context.get(API_KEY);
|
||||||
LOG.info("Creating session from apiKey (accessTokenTable)", logPair("apiKey", maskForLog(apiKey)));
|
LOG.trace("Creating session from apiKey (accessTokenTable)", logPair("apiKey", maskForLog(apiKey)));
|
||||||
if(apiKey != null)
|
if(apiKey != null)
|
||||||
{
|
{
|
||||||
accessToken = getAccessTokenFromApiKey(metaData, apiKey);
|
accessToken = getAccessTokenFromApiKey(metaData, apiKey);
|
||||||
|
Reference in New Issue
Block a user