Class AuthenticationContextManagedObjectSource<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
- java.lang.Object
- 
- net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource<O,F>
- 
- net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSource<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows>
- 
- net.officefloor.web.security.impl.AuthenticationContextManagedObjectSource<A,AC,C,O,F>
 
 
 
- 
- All Implemented Interfaces:
- ManagedObjectSource<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows>
 
 @PrivateSource public class AuthenticationContextManagedObjectSource<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends AbstractManagedObjectSource<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows> ManagedObjectSourcefor the custom authentication.- Author:
- Daniel Sagenschneider
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAuthenticationContextManagedObjectSource.DependenciesDependency keys.static classAuthenticationContextManagedObjectSource.FlowsFlow keys.- 
Nested classes/interfaces inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSourceAbstractAsyncManagedObjectSource.DependencyLabeller<K extends java.lang.Enum<K>>, AbstractAsyncManagedObjectSource.ExecutionLabeller, AbstractAsyncManagedObjectSource.Labeller<K extends java.lang.Enum<K>>, AbstractAsyncManagedObjectSource.MetaDataContext<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
 
- 
 - 
Constructor SummaryConstructors Constructor Description AuthenticationContextManagedObjectSource(java.lang.String qualifier, HttpSecurity<A,AC,C,O,F> httpSecurity)Instantiate.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ManagedObjectgetManagedObject()Synchronously obtains theManagedObject.static java.lang.StringgetQualifiedAttributeName(java.lang.String qualifier, java.lang.String attributeName)Obtains the qualified attribute name.protected voidloadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows> context)Overridden to load meta-data.protected voidloadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)Overridden to load specifications.voidstart(ManagedObjectExecuteContext<AuthenticationContextManagedObjectSource.Flows> context)Called once afterManagedObjectSource.init(ManagedObjectSourceContext)to indicate thisManagedObjectSourceshould start execution.- 
Methods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSourcesourceManagedObject
 - 
Methods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSourcegetSpecification, init, stop
 
- 
 
- 
- 
- 
Constructor Detail- 
AuthenticationContextManagedObjectSourcepublic AuthenticationContextManagedObjectSource(java.lang.String qualifier, HttpSecurity<A,AC,C,O,F> httpSecurity)Instantiate.- Parameters:
- qualifier- Qualifier for the- HttpSecurity.
- httpSecurity-- HttpSecurity.
 
 
- 
 - 
Method Detail- 
getQualifiedAttributeNamepublic static java.lang.String getQualifiedAttributeName(java.lang.String qualifier, java.lang.String attributeName)Obtains the qualified attribute name.- Parameters:
- qualifier-- HttpSecurityqualifier.
- attributeName- Attribute name.
- Returns:
- Qualified attribute name.
 
 - 
loadSpecificationprotected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context) Description copied from class:AbstractAsyncManagedObjectSourceOverridden to load specifications.- Specified by:
- loadSpecificationin class- AbstractAsyncManagedObjectSource<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows>
- Parameters:
- context- Specifications.
 
 - 
loadMetaDataprotected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows> context) throws java.lang.Exception Description copied from class:AbstractAsyncManagedObjectSourceOverridden to load meta-data.- Specified by:
- loadMetaDatain class- AbstractAsyncManagedObjectSource<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows>
- Parameters:
- context- Meta-data.
- Throws:
- java.lang.Exception- If fails to load the meta-data.
 
 - 
startpublic void start(ManagedObjectExecuteContext<AuthenticationContextManagedObjectSource.Flows> context) throws java.lang.Exception Description copied from interface:ManagedObjectSourceCalled once after ManagedObjectSource.init(ManagedObjectSourceContext)to indicate thisManagedObjectSourceshould start execution.On invocation of this method, ProcessStateinstances may be invoked via theManagedObjectExecuteContext.- Specified by:
- startin interface- ManagedObjectSource<A,AC extends java.io.Serializable>
- Overrides:
- startin class- AbstractAsyncManagedObjectSource<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows>
- Parameters:
- context-- ManagedObjectExecuteContextto use in starting this- ManagedObjectSource.
- Throws:
- java.lang.Exception- Should the- ManagedObjectSourcefail to start execution.
 
 - 
getManagedObjectprotected ManagedObject getManagedObject() throws java.lang.Throwable Description copied from class:AbstractManagedObjectSourceSynchronously obtains theManagedObject.- Specified by:
- getManagedObjectin class- AbstractManagedObjectSource<AuthenticationContextManagedObjectSource.Dependencies,AuthenticationContextManagedObjectSource.Flows>
- Returns:
- ManagedObject.
- Throws:
- java.lang.Throwable- If fails to obtain the- ManagedObject.
 
 
- 
 
-