Class CustomSaslAuthenticationProviderTestBase.InMemoryClientProvider.InMemoryClientProviderCallbackHandler
java.lang.Object
org.apache.hadoop.hbase.security.provider.CustomSaslAuthenticationProviderTestBase.InMemoryClientProvider.InMemoryClientProviderCallbackHandler
- All Implemented Interfaces:
CallbackHandler
- Enclosing class:
- CustomSaslAuthenticationProviderTestBase.InMemoryClientProvider
public class CustomSaslAuthenticationProviderTestBase.InMemoryClientProvider.InMemoryClientProviderCallbackHandler
extends Object
implements CallbackHandler
Sasl CallbackHandler which extracts information from our custom token and places it into the
Sasl objects.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>
-
Constructor Summary
ConstructorDescriptionInMemoryClientProviderCallbackHandler
(org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token) -
Method Summary
-
Field Details
-
token
private final org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token
-
-
Constructor Details
-
InMemoryClientProviderCallbackHandler
public InMemoryClientProviderCallbackHandler(org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token)
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
UnsupportedCallbackException
-