Changed success logs to info
This commit is contained in:
parent
12b0fb219e
commit
ef10430d54
2 changed files with 16 additions and 16 deletions
|
|
@ -42,12 +42,12 @@ import java.util.logging.Logger;
|
|||
*
|
||||
* <pre>
|
||||
* From RFC:
|
||||
* +---------+ +---------------+
|
||||
* | |>---(D)-- Authorization Code ---->| |
|
||||
* | Client | and Redirection URI | Authorization |
|
||||
* | | | Server |
|
||||
* | |<---(E)----- Access Token -------<| |
|
||||
* +---------+ (w/ Optional Refresh Token) +---------------+
|
||||
* +---------+ +---------------+
|
||||
* | | >---(D)-- Authorization Code ----> | |
|
||||
* | Client | and Redirection URI | Authorization |
|
||||
* | | | Server |
|
||||
* | | <---(E)----- Access Token -------< | |
|
||||
* +---------+ (w/ Optional Refresh Token) +---------------+
|
||||
* </pre>
|
||||
*
|
||||
* @see <a href="https://tools.ietf.org/html/rfc6749#section-4">RFC 6749: Chapter 4</a>
|
||||
|
|
@ -161,9 +161,9 @@ public class OAuth2AuthorizationPage implements HttpPage {
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,13 +40,13 @@ import zutil.parser.DataNode;
|
|||
*
|
||||
* <pre>
|
||||
* From RFC:
|
||||
* +---------+ +---------------+
|
||||
* | | | |
|
||||
* | |>--(A)- Client Authentication --->| Authorization |
|
||||
* | Client | | Server |
|
||||
* | |<--(B)---- Access Token ---------<| |
|
||||
* | | | |
|
||||
* +---------+ +---------------+
|
||||
* +---------+ +---------------+
|
||||
* | | | |
|
||||
* | | >--(A)- Client Authentication ---> | Authorization |
|
||||
* | Client | | Server |
|
||||
* | | <--(B)---- Access Token ---------< | |
|
||||
* | | | |
|
||||
* +---------+ +---------------+
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
|
|
@ -162,7 +162,7 @@ public class OAuth2TokenPage extends HttpJsonPage {
|
|||
if (clientId == null)
|
||||
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();
|
||||
long timeoutMillis = registry.registerAccessToken(clientId, token);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue