All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.hotrod.impl.security.VoidCallbackHandler Maven / Gradle / Ivy

There is a newer version: 14.0.32.Final
Show newest version
package org.infinispan.hotrod.impl.security;

import javax.security.auth.callback.Callback;
import javax.security.auth.callback.CallbackHandler;

/**
 *
 * No-op {@link javax.security.auth.callback.CallbackHandler}. Convenient CallbackHandler which comes handy when
 * no auth. callback is needed. This applies namely to SASL EXTERNAL auth. mechanism when auth. information is obtained
 * from external channel, like TLS certificate.
 *
 * @since 14.0
 */
public class VoidCallbackHandler implements CallbackHandler {
    @Override
    public void handle(Callback[] callbacks) {
        // NO-OP
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy