Class JwksPublishSectionSource
java.lang.Object
net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
net.officefloor.web.jwt.authority.jwks.JwksPublishSectionSource
- All Implemented Interfaces:
SectionSource
JWKS publish SectionSource.
Publishes the JwtValidateKey instances from the JwtAuthority
for a JwksSectionSource (or other JWKS consumer) to consume.
- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
AbstractSectionSource.SpecificationContext -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName ofSectionInputto publish theJwtValidateKeyinstances. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JwksKeyWriter<?>[]loadJwksKeyWriters(SourceContext context) Loads theJwksKeyWriterinstances.protected voidLoads theSectionSourceSpecification.voidsourceSection(SectionDesigner designer, SectionSourceContext context) Sources theOfficeSectionby constructing it via the inputSectionDesigner.static StringwriteKey(Key key, JwksKeyWriter<?>[] keyWriters) Writes theKey.Methods inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
getSpecification
-
Field Details
-
INPUT
Name ofSectionInputto publish theJwtValidateKeyinstances.- See Also:
-
-
Constructor Details
-
JwksPublishSectionSource
public JwksPublishSectionSource()
-
-
Method Details
-
loadJwksKeyWriters
Loads theJwksKeyWriterinstances.- Parameters:
context-SourceContext.- Returns:
JwksKeyWriterinstances.
-
writeKey
Writes theKey. -
loadSpecification
Description copied from class:AbstractSectionSourceLoads theSectionSourceSpecification.- Specified by:
loadSpecificationin classAbstractSectionSource- Parameters:
context-AbstractSectionSource.SpecificationContext.
-
sourceSection
Description copied from interface:SectionSourceSources theOfficeSectionby constructing it via the inputSectionDesigner.- Parameters:
designer-SectionDesignerto construct the structure of theOfficeSection.context-SectionSourceContextto source details to construct theOfficeSection.- Throws:
Exception- If fails to construct theOfficeSection.
-