Class HttpSecuritySectionSource<A,AC extends Serializable,C,O extends Enum<O>,F extends Enum<F>>
java.lang.Object
net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
net.officefloor.web.security.impl.HttpSecuritySectionSource<A,AC,C,O,F>
- All Implemented Interfaces:
SectionSource
public class HttpSecuritySectionSource<A,AC extends Serializable,C,O extends Enum<O>,F extends Enum<F>>
extends AbstractSectionSource
SectionSource for the HttpSecuritySource.- 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 of theSectionInputfor undertaking authentication with application provided credentials.static final StringName of theSectionInputfor challenging.static final StringPrefix name of theSectionInputfor handlingHttpSecurityExecuteContext.static final StringName of theSectionOutputfor handling re-continuing after authentication. -
Constructor Summary
ConstructorsConstructorDescriptionHttpSecuritySectionSource(HttpSecurityConfiguration<A, AC, C, O, F> configuration) 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
-
INPUT_CHALLENGE
Name of theSectionInputfor challenging.- See Also:
-
INPUT_AUTHENTICATE
Name of theSectionInputfor undertaking authentication with application provided credentials.- See Also:
-
OUTPUT_RECONTINUE
Name of theSectionOutputfor handling re-continuing after authentication.- See Also:
-
INPUT_FLOW_PREFIX
Prefix name of theSectionInputfor handlingHttpSecurityExecuteContext.- See Also:
-
-
Constructor Details
-
HttpSecuritySectionSource
Instantiate.- Parameters:
configuration-HttpSecurityConfiguration.
-
-
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.
-