public class OpenidConnectIdTokenFromFileCallbackHandler extends Object implements MysqlCallbackHandler
| Modifier and Type | Field and Description |
|---|---|
private static int |
ID_TOKEN_SIZE_LIMIT |
| Constructor and Description |
|---|
OpenidConnectIdTokenFromFileCallbackHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(MysqlCallback cb)
Exchanges information between the caller of this method and the owner of the
MysqlCallbackHandler instance. |
private static final int ID_TOKEN_SIZE_LIMIT
public OpenidConnectIdTokenFromFileCallbackHandler()
public void handle(MysqlCallback cb)
MysqlCallbackHandlerMysqlCallbackHandler instance. The method can be called multiple
times with different callback implementations to exchange different types of information. A typical MysqlCallbackHandler implementation looks
like:
private MysqlCallbackHandler callbackHandler = (cb) -> {
if (cb instanceof UsernameCallback) {
this.username = ((UsernameCallback) cb).getUsername();
}
};
handle in interface MysqlCallbackHandlercb - the MysqlCallback to process