Class JwtIssuerAuthCache
java.lang.Object
io.confluent.security.authentication.oauthbearer.JwtIssuer
io.confluent.security.auth.dataplane.JwtIssuerAuthCache
- All Implemented Interfaces:
org.apache.kafka.common.Configurable
public final class JwtIssuerAuthCache
extends io.confluent.security.authentication.oauthbearer.JwtIssuer
implements org.apache.kafka.common.Configurable
Fetches Signature Verification key information from AuthCache according to issuer information
from the token claim.
Use the parameter domainWhiteList to restrict which Issuers may provide public key information.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaudience()static JwtIssuerAuthCache.Builderbuilder()voidio.confluent.security.authentication.oauthbearer.ConstrainedVerificationKeyResolverkeyResolver(Collection<io.confluent.security.authentication.oauthbearer.Constraint> constraints, io.confluent.security.util.SecurityContext context) Returns Signature Verification Key identified by AuthCachename()Methods inherited from class io.confluent.security.authentication.oauthbearer.JwtIssuer
createConsumer
-
Method Details
-
name
- Specified by:
namein classio.confluent.security.authentication.oauthbearer.JwtIssuer
-
audience
-
sessionUuid
-
keyResolver
public io.confluent.security.authentication.oauthbearer.ConstrainedVerificationKeyResolver keyResolver(Collection<io.confluent.security.authentication.oauthbearer.Constraint> constraints, io.confluent.security.util.SecurityContext context) Returns Signature Verification Key identified by AuthCache- Specified by:
keyResolverin classio.confluent.security.authentication.oauthbearer.JwtIssuer- Parameters:
constraints- Collection ofConstraintto be enforced.- Returns:
ConstrainedVerificationKeyResolver
-
builder
-
configure
-