Class JaasOptionsUtils
java.lang.Object
org.apache.kafka.common.security.oauthbearer.secured.JaasOptionsUtils
JaasOptionsUtils
is a utility class to perform logic for the JAAS options and
is separated out here for easier, more direct testing.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOptions
(String saslMechanism, List<AppConfigurationEntry> jaasConfigEntries) boolean
validateString
(String name) validateString
(String name, boolean isRequired)
-
Constructor Details
-
JaasOptionsUtils
-
-
Method Details
-
getOptions
-
shouldCreateSSLSocketFactory
-
getSslClientConfig
-
createSSLSocketFactory
-
validateString
- Throws:
ValidateException
-
validateString
- Throws:
ValidateException
-