Class JwtIssuerSpire
java.lang.Object
io.confluent.security.authentication.oauthbearer.JwtIssuer
io.confluent.security.authentication.oauthbearer.JwtIssuerSpire
- All Implemented Interfaces:
JwtIssuerSpireConfigurator
JwtIssuer which fetches trust bundle JwtBundle from SPIRE workload API.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudience()The recipient(s) for this token.static JwtIssuerSpire.Builderbuilder()voidconfigureJwtSource(String spireAgentSocketEndpoint) Set SPIRE agent endpoint where trust bundleJwtBundlecan be fetched.keyResolver(Collection<Constraint> constraints, io.confluent.security.util.SecurityContext context) Returns Signature Verification Key identified byHeaderParameterNames.KEY_IDname()JsonWebSignatureIssuer name.SPIRE endpoint hosting the SPIRE Agent.Methods inherited from class io.confluent.security.authentication.oauthbearer.JwtIssuer
createConsumer
-
Constructor Details
-
JwtIssuerSpire
-
-
Method Details
-
configureJwtSource
Set SPIRE agent endpoint where trust bundleJwtBundlecan be fetched. InitializesJwtSource- Specified by:
configureJwtSourcein interfaceJwtIssuerSpireConfigurator
-
name
-
audience
-
spireAgentSocketEndpoint
SPIRE endpoint hosting the SPIRE Agent. -
keyResolver
public ConstrainedVerificationKeyResolver keyResolver(Collection<Constraint> constraints, io.confluent.security.util.SecurityContext context) Returns Signature Verification Key identified byHeaderParameterNames.KEY_ID- Specified by:
keyResolverin classJwtIssuer- Parameters:
constraints- Collection ofConstraintto be enforced.- Returns:
ConstrainedVerificationKeyResolver
-
builder
-