Class HttpSecuritySectionSource<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.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 java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends AbstractSectionSource
SectionSourcefor theHttpSecuritySource.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
AbstractSectionSource.SpecificationContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINPUT_AUTHENTICATEName of theSectionInputfor undertaking authentication with application provided credentials.static java.lang.StringINPUT_CHALLENGEName of theSectionInputfor challenging.static java.lang.StringINPUT_FLOW_PREFIXPrefix name of theSectionInputfor handlingHttpSecurityExecuteContext.static java.lang.StringOUTPUT_RECONTINUEName of theSectionOutputfor handling re-continuing after authentication.
-
Constructor Summary
Constructors Constructor Description HttpSecuritySectionSource(HttpSecurityConfiguration<A,AC,C,O,F> configuration)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidloadSpecification(AbstractSectionSource.SpecificationContext context)Loads 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 Detail
-
INPUT_CHALLENGE
public static final java.lang.String INPUT_CHALLENGE
Name of theSectionInputfor challenging.- See Also:
- Constant Field Values
-
INPUT_AUTHENTICATE
public static final java.lang.String INPUT_AUTHENTICATE
Name of theSectionInputfor undertaking authentication with application provided credentials.- See Also:
- Constant Field Values
-
OUTPUT_RECONTINUE
public static final java.lang.String OUTPUT_RECONTINUE
Name of theSectionOutputfor handling re-continuing after authentication.- See Also:
- Constant Field Values
-
INPUT_FLOW_PREFIX
public static final java.lang.String INPUT_FLOW_PREFIX
Prefix name of theSectionInputfor handlingHttpSecurityExecuteContext.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpSecuritySectionSource
public HttpSecuritySectionSource(HttpSecurityConfiguration<A,AC,C,O,F> configuration)
Instantiate.- Parameters:
configuration-HttpSecurityConfiguration.
-
-
Method Detail
-
loadSpecification
protected void loadSpecification(AbstractSectionSource.SpecificationContext context)
Description copied from class:AbstractSectionSourceLoads theSectionSourceSpecification.- Specified by:
loadSpecificationin classAbstractSectionSource- Parameters:
context-AbstractSectionSource.SpecificationContext.
-
sourceSection
public void sourceSection(SectionDesigner designer, SectionSourceContext context) throws java.lang.Exception
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:
java.lang.Exception- If fails to construct theOfficeSection.
-
-