Class HttpSecurityLoaderImpl
- java.lang.Object
-
- net.officefloor.web.security.type.HttpSecurityLoaderImpl
-
- All Implemented Interfaces:
OfficeFloorCompilerRunnable<HttpSecurityLoader>,HttpSecurityLoader
public class HttpSecurityLoaderImpl extends java.lang.Object implements HttpSecurityLoader, OfficeFloorCompilerRunnable<HttpSecurityLoader>
HttpSecurityLoaderimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description HttpSecurityLoaderImpl()Instantiate forOfficeFloorCompilerRunnable.HttpSecurityLoaderImpl(OfficeFloorCompiler compiler)Initiate.HttpSecurityLoaderImpl(OfficeArchitect officeArchitect, OfficeSourceContext officeSourceContext, java.lang.String managedObjectSourceName)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>,S extends HttpSecuritySource<A,AC,C,O,F>>
HttpSecurityType<A,AC,C,O,F>loadHttpSecurityType(java.lang.Class<S> httpSecuritySourceClass, PropertyList propertyList)Loads and returns theHttpSecurityTypefor theHttpSecuritySource.<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
HttpSecurityType<A,AC,C,O,F>loadHttpSecurityType(HttpSecuritySource<A,AC,C,O,F> httpSecuritySource, PropertyList propertyList)Loads and returns theHttpSecurityTypefor theHttpSecuritySource.<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>,S extends HttpSecuritySource<A,AC,C,O,F>>
PropertyListloadSpecification(java.lang.Class<S> httpSecuritySourceClass)Loads and returns thePropertyListfrom theHttpSecuritySourceSpecificationfor theHttpSecuritySource.<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
PropertyListloadSpecification(HttpSecuritySource<A,AC,C,O,F> httpSecuritySource)Loads and returns thePropertyListfrom theHttpSecuritySourceSpecificationfor theHttpSecuritySource.HttpSecurityLoaderrun(OfficeFloorCompiler compiler, java.lang.Object[] parameters)Contains the runnable functionality.
-
-
-
Constructor Detail
-
HttpSecurityLoaderImpl
public HttpSecurityLoaderImpl()
Instantiate forOfficeFloorCompilerRunnable.
-
HttpSecurityLoaderImpl
public HttpSecurityLoaderImpl(OfficeFloorCompiler compiler)
Initiate.- Parameters:
compiler-OfficeFloorCompiler.
-
HttpSecurityLoaderImpl
public HttpSecurityLoaderImpl(OfficeArchitect officeArchitect, OfficeSourceContext officeSourceContext, java.lang.String managedObjectSourceName)
Initiate.- Parameters:
officeArchitect-OfficeArchitect.officeSourceContext-OfficeFloorSourceContext.managedObjectSourceName- Name of theManagedObjectSource.
-
-
Method Detail
-
run
public HttpSecurityLoader run(OfficeFloorCompiler compiler, java.lang.Object[] parameters) throws java.lang.Exception
Description copied from interface:OfficeFloorCompilerRunnableContains the runnable functionality.- Specified by:
runin interfaceOfficeFloorCompilerRunnable<HttpSecurityLoader>- Parameters:
compiler-OfficeFloorCompilerloaded with theClassLoader.parameters- Parameters. AsProxyinstances are used to bridgeClasscompatibility issues of using differentClassLoaderinstances, parameters should only be referenced by their implementing interfaces.- Returns:
- Result from runnable.
- Throws:
java.lang.Exception- If failure in running.
-
loadSpecification
public <A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>,S extends HttpSecuritySource<A,AC,C,O,F>> PropertyList loadSpecification(java.lang.Class<S> httpSecuritySourceClass)
Description copied from interface:HttpSecurityLoaderLoads and returns thePropertyListfrom theHttpSecuritySourceSpecificationfor theHttpSecuritySource.- Specified by:
loadSpecificationin interfaceHttpSecurityLoader- Type Parameters:
A- Authentication type.AC- Access control type.C- Credentials type.O- Dependency keys type.F-Flowkeys type.S-HttpSecuritySourcetype.- Parameters:
httpSecuritySourceClass-HttpSecuritySourceClass.- Returns:
PropertyListof theHttpSecuritySourcePropertyinstances of theHttpSecuritySourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadSpecification
public <A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> PropertyList loadSpecification(HttpSecuritySource<A,AC,C,O,F> httpSecuritySource)
Description copied from interface:HttpSecurityLoaderLoads and returns thePropertyListfrom theHttpSecuritySourceSpecificationfor theHttpSecuritySource.- Specified by:
loadSpecificationin interfaceHttpSecurityLoader- Type Parameters:
A- Authentication type.AC- Access control type.C- Credentials type.O- Dependency keys type.F-Flowkeys type.- Parameters:
httpSecuritySource-HttpSecuritySource.- Returns:
PropertyListof theHttpSecuritySourcePropertyinstances of theHttpSecuritySourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadHttpSecurityType
public <A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>,S extends HttpSecuritySource<A,AC,C,O,F>> HttpSecurityType<A,AC,C,O,F> loadHttpSecurityType(java.lang.Class<S> httpSecuritySourceClass, PropertyList propertyList)
Description copied from interface:HttpSecurityLoaderLoads and returns the
HttpSecurityTypefor theHttpSecuritySource.This method will also initialise the
HttpSecuritySource.- Specified by:
loadHttpSecurityTypein interfaceHttpSecurityLoader- Type Parameters:
A- Authentication type.AC- Access control type.C- Credentials type.O- Dependency keys type.F-Flowkeys type.S-HttpSecuritySourcetype.- Parameters:
httpSecuritySourceClass-HttpSecuritySourceClass.propertyList-PropertyListcontaining the properties to source theHttpSecurityType.- Returns:
HttpSecurityTypeornullif issues, which are reported to theCompilerIssues.
-
loadHttpSecurityType
public <A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> HttpSecurityType<A,AC,C,O,F> loadHttpSecurityType(HttpSecuritySource<A,AC,C,O,F> httpSecuritySource, PropertyList propertyList)
Description copied from interface:HttpSecurityLoaderLoads and returns the
HttpSecurityTypefor theHttpSecuritySource.This method will also initialise the
HttpSecuritySource.- Specified by:
loadHttpSecurityTypein interfaceHttpSecurityLoader- Type Parameters:
A- Authentication type.AC- Access control type.C- Credentials type.O- Dependency keys type.F-Flowkeys type.- Parameters:
httpSecuritySource-HttpSecuritySource.propertyList-PropertyListcontaining the properties to source theHttpSecurityType.- Returns:
HttpSecurityTypeornullif issues, which are reported to theCompilerIssues.
-
-