Class AuthenticationConfig<C extends Credential, P extends Principal>
java.lang.Object
io.confluent.security.authentication.AuthenticationConfig<C,P>
- Type Parameters:
C- Credential type.P- Principal type. Standalone configuration example:Embedded configuration example:kind: {@link AuthenticationConfig.Kind} issuers: - name: https://example.com/v1/identity/oidc verificationType: jwks jwksUri: https://example.com/v1/identity/oidc/.well-known/keys audience: - C82RLLokthIFn4v4sDYKpJbksC - z2OPfk0pavN7Xj0UElTUaR1Xqt - name: Confluent verificationType: jku domainWhitelist: - devel.cpdev.cloud - stag.cpdev.cloud - .gcp.priv.cpdev.cloud - name: pemFactory verificationType: static pems: - |- -----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAuI4GHxaqm3JhiWY1y+7d Cr/WyYqg7cABHWuw9TawYU24BlfTyfwJiAOZwJszikTv92dfCG0rbOdrKkAaqHxd 3M5csla5/b3XKwCDoqzhL0odhFDnPvUlhRhtyw/19kNSuntsiQFOnhaaURqT4M18 73T4SMzJVq4N4CtQNKTjCSBoFvBpMZHR25+ERT0Y91IfuEFJSPzZLL9vz2sWltHj szyJ0jSxmunv32K6/nEUHLc1iLKo5IIXaYWwqjUbeD39JDt6HCoyJsh5ohuiqChH /ws5AYoupbKX3uohf+/DHbALLmd48TfAPN9+3WzeVKFB7pBLHt2hSLkKd2UUxXNi WuPBuonEJ48JlFvZCg9/KbgcxDRkyXrKRDMJP3vu5z6nJbRe7tQpxS2pbdLysNr3 J/TorJf9oW9Mlx8L0693GYjOSUtckni3BL3LWHukXia4/blik0JdvMsdCpEaE0IB YzlMmVut/8v7yav+flTYLcqgZm8RjQk5M+nMaj+UR60CRmxgARX9Plg0yH3aUX1u rS8G/tU8P/mF2RIPiyPrP6RRpoJrDgzaS4AfjuYjnLYZiWhXxl/Nq1yvkNVUmgjq egCaDOQYgEYeLgULmnfiYbwhpMlW4ZPdDoY/d2ExCPVSM/iNxiiE26i4ZzFWsK3W QQYdbfhQjDABjEfpYiDTZ4UCAwEAAQ== -----END PUBLIC KEY----- - |- -----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAuI4GHxaqm3JhiWY1y+7d Cr/WyYqg7cABHWuw9TawYU24BlfTyfwJiAOZwJszikTv92dfCG0rbOdrKkAaqHxd 3M5csla5/b3XKwCDoqzhL0odhFDnPvUlhRhtyw/19kNSuntsiQFOnhaaURqT4M18 73T4SMzJVq4N4CtQNKTjCSBoFvBpMZHR25+ERT0Y91IfuEFJSPzZLL9vz2sWltHj szyJ0jSxmunv32K6/nEUHLc1iLKo5IIXaYWwqjUbeD39JDt6HCoyJsh5ohuiqChH /ws5AYoupbKX3uohf+/DHbALLmd48TfAPN9+3WzeVKFB7pBLHt2hSLkKd2UUxXNi WuPBuonEJ48JlFvZCg9/KbgcxDRkyXrKRDMJP3vu5z6nJbRe7tQpxS2pbdLysNr3 J/TorJf9oW9Mlx8L0693GYjOSUtckni3BL3LWHukXia4/blik0JdvMsdCpEaE0IB YzlMmVut/8v7yav+flTYLcqgZm8RjQk5M+nMaj+UR60CRmxgARX9Plg0yH3aUX1u rS8G/tU8P/mF2RIPiyPrP6RRpoJrDgzaS4AfjuYjnLYZiWhXxl/Nq1yvkNVUmgjq egCaDOQYgEYeLgULmnfiYbwhpMlW4ZPdDoY/d2ExCPVSM/iNxiiE26i4ZzFWsK3W QQYdbfhQjDABjEfpYiDTZ4UCAwEAAQ== -----END PUBLIC KEY-----See... authentication: kind: {@link AuthenticationConfig.Kind} ... ...JwtAuthenticationConfigfor implementation specific configuration details.
- Direct Known Subclasses:
JwtAuthenticationConfig
public abstract class AuthenticationConfig<C extends Credential, P extends Principal>
extends Object
Configures a
Authenticator instance.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Authenticator<C, P> Creates a newAuthenticatorinstance.abstract AuthenticationConfig.Kindkind()Describes theAuthenticationConfigimplementation.
-
Constructor Details
-
AuthenticationConfig
public AuthenticationConfig()
-
-
Method Details
-
kind
Describes theAuthenticationConfigimplementation.- Returns:
AuthenticationConfig.Kind
-
createAuthenticator
Creates a newAuthenticatorinstance.- Returns:
Authenticator
-