mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: remove logging of tokens
parent
0225c09b64
commit
8f822cde33
|
@ -191,10 +191,6 @@ public class Session implements SessionInterface {
|
|||
return this.tokens.entrySet().iterator();
|
||||
}
|
||||
|
||||
public void showTokens(String preMessage) {
|
||||
log.info("{} { Session: {} | Tokens: {} }", preMessage, this.sessionId, this.tokens.keySet().toString());
|
||||
}
|
||||
|
||||
public boolean isClosed() {
|
||||
return closed;
|
||||
}
|
||||
|
|
|
@ -310,7 +310,6 @@ public abstract class SessionManager {
|
|||
Token tokenObj = tokenGenerator.generateToken(session.getSessionId(), serverMetadata, record, role,
|
||||
kurentoOptions);
|
||||
session.storeToken(tokenObj);
|
||||
session.showTokens("Token created");
|
||||
return tokenObj;
|
||||
}
|
||||
|
||||
|
@ -319,7 +318,6 @@ public abstract class SessionManager {
|
|||
Token tokenObj = new Token(token, session.getSessionId(), connectionProperties,
|
||||
this.openviduConfig.isTurnadminAvailable() ? this.coturnCredentialsService.createUser() : null);
|
||||
session.storeToken(tokenObj);
|
||||
session.showTokens("Token created for insecure user");
|
||||
return tokenObj;
|
||||
}
|
||||
|
||||
|
|
|
@ -262,8 +262,6 @@ public class RpcHandler extends DefaultJsonRpcHandler<JsonObject> {
|
|||
Token tokenObj = session.consumeToken(token);
|
||||
if (tokenObj != null) {
|
||||
|
||||
session.showTokens("Token consumed");
|
||||
|
||||
String clientMetadata = getStringParam(request, ProtocolElements.JOINROOM_METADATA_PARAM);
|
||||
if (sessionManager.formatChecker.isServerMetadataFormatCorrect(clientMetadata)) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue