Changed success logs to info
This commit is contained in:
parent
12b0fb219e
commit
ef10430d54
2 changed files with 16 additions and 16 deletions
|
|
@ -161,9 +161,9 @@ public class OAuth2AuthorizationPage implements HttpPage {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the redirect
|
// Prepare the redirect
|
||||||
|
|
||||||
logger.warning("OAuth2 successful authorization of client: " + clientId);
|
logger.info("OAuth2 successful authorization of client: " + clientId);
|
||||||
redirect(out, url);
|
redirect(out, url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,7 @@ public class OAuth2TokenPage extends HttpJsonPage {
|
||||||
if (clientId == null)
|
if (clientId == null)
|
||||||
clientId = registry.getClientIdForAuthenticationCode(authorizationCode);
|
clientId = registry.getClientIdForAuthenticationCode(authorizationCode);
|
||||||
|
|
||||||
logger.warning("OAuth2 successful token provisioning for client: " + clientId);
|
logger.info("OAuth2 successful token provisioning for client: " + clientId);
|
||||||
|
|
||||||
String token = registry.generateToken();
|
String token = registry.generateToken();
|
||||||
long timeoutMillis = registry.registerAccessToken(clientId, token);
|
long timeoutMillis = registry.registerAccessToken(clientId, token);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue