Class HandleAuthenticationRequiredSectionSource
java.lang.Object
net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
net.officefloor.web.security.impl.HandleAuthenticationRequiredSectionSource
- All Implemented Interfaces:
SectionSource
SectionSource to handle the AuthenticationRequiredException.- 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 handle theAuthenticationRequiredException. -
Constructor Summary
ConstructorsConstructorDescriptionHandleAuthenticationRequiredSectionSource(String[] httpSecurityNames, AcceptNegotiator<int[]> challengeNegotiator) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidLoads theSectionSourceSpecification.voidsourceSection(SectionDesigner designer, SectionSourceContext context) Sources theOfficeSectionby constructing it via the inputSectionDesigner.Methods inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
getSpecification
-
Field Details
-
HANDLE_INPUT
Name ofSectionInputto handle theAuthenticationRequiredException.- See Also:
-
-
Constructor Details
-
HandleAuthenticationRequiredSectionSource
public HandleAuthenticationRequiredSectionSource(String[] httpSecurityNames, AcceptNegotiator<int[]> challengeNegotiator) Instantiate.- Parameters:
httpSecurityNames- Names of theHttpSecurityinstances.challengeNegotiator- ChallengeAcceptNegotiator.
-
-
Method Details
-
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.
-