Class IAMRolesAnywhereCallbackHandler
java.lang.Object
ch.admin.bit.jeap.messaging.kafka.auth.aws.iam.IAMRolesAnywhereCallbackHandler
- All Implemented Interfaces:
CallbackHandler,org.apache.kafka.common.security.auth.AuthenticateCallbackHandler
public class IAMRolesAnywhereCallbackHandler
extends Object
implements org.apache.kafka.common.security.auth.AuthenticateCallbackHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidconfigure(Map<String, ?> configs, @NonNull String saslMechanism, @NonNull List<AppConfigurationEntry> jaasConfigEntries) protected static StringdebugClassString(Class<?> clazz) voidprotected voidhandleCallback(software.amazon.msk.auth.iam.internals.AWSCredentialsCallback callback)
-
Constructor Details
-
IAMRolesAnywhereCallbackHandler
public IAMRolesAnywhereCallbackHandler()
-
-
Method Details
-
configure
public void configure(Map<String, ?> configs, @NonNull @NonNull String saslMechanism, @NonNull @NonNull 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(@NonNull @NonNull Callback[] callbacks) throws IOException, UnsupportedCallbackException - Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
debugClassString
-
handleCallback
protected void handleCallback(software.amazon.msk.auth.iam.internals.AWSCredentialsCallback callback) throws IOException - Throws:
IOException
-