Class AccessTokenRetrieverFactory
java.lang.Object
org.apache.kafka.common.security.oauthbearer.secured.AccessTokenRetrieverFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessTokenRetriever
static AccessTokenRetriever
Create anAccessTokenRetriever
from the given SASL and JAAS configuration.
-
Constructor Details
-
AccessTokenRetrieverFactory
public AccessTokenRetrieverFactory()
-
-
Method Details
-
create
Create anAccessTokenRetriever
from the given SASL and JAAS configuration. Note: the returnedAccessTokenRetriever
is not initialized here and must be done by the caller prior to use.- Parameters:
configs
- SASL configurationjaasConfig
- JAAS configuration- Returns:
- Non-
null
AccessTokenRetriever
-
create
-