Class OauthLoginCallbackHandler
- java.lang.Object
-
- io.streamnative.pulsar.handlers.kop.security.oauth.OauthLoginCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler,org.apache.kafka.common.security.auth.AuthenticateCallbackHandler
public class OauthLoginCallbackHandler extends Object implements org.apache.kafka.common.security.auth.AuthenticateCallbackHandler
OAuth 2.0 login callback handler.
-
-
Constructor Summary
Constructors Constructor Description OauthLoginCallbackHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidconfigure(Map<String,?> configs, String saslMechanism, List<AppConfigurationEntry> jaasConfigEntries)voidhandle(Callback[] callbacks)
-
-
-
Method Detail
-
configure
public void configure(Map<String,?> configs, String saslMechanism, List<AppConfigurationEntry> jaasConfigEntries)
- Specified by:
configurein interfaceorg.apache.kafka.common.security.auth.AuthenticateCallbackHandler
-
close
public void close()
- Specified by:
closein interfaceorg.apache.kafka.common.security.auth.AuthenticateCallbackHandler
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
-