Package net.officefloor.web.spi.security
Interface HttpSecuritySourceContext
- All Superinterfaces:
SourceContext,SourceProperties
Context for the
HttpSecuritySource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescription<O extends Enum<O>>
HttpSecuritySupportingManagedObject<O>addSupportingManagedObject(String managedObjectName, ManagedObjectSource<O, ?> managedObjectSource, ManagedObjectScope managedObjectScope) Methods inherited from interface net.officefloor.frame.api.source.SourceContext
getClassLoader, getClock, getLogger, getName, getOptionalResource, getProfiles, getResource, isLoadingType, loadClass, loadOptionalClass, loadOptionalService, loadOptionalServices, loadService, loadService, loadServicesMethods inherited from interface net.officefloor.frame.api.source.SourceProperties
getProperties, getProperty, getProperty, getPropertyNames
-
Method Details
-
addSupportingManagedObject
<O extends Enum<O>> HttpSecuritySupportingManagedObject<O> addSupportingManagedObject(String managedObjectName, ManagedObjectSource<O, ?> managedObjectSource, ManagedObjectScope managedObjectScope) Adds a
HttpSecuritySupportingManagedObject.Note that the
ManagedObjectSourcecan not invokeFlowor useTeaminstances. Should this be required, use theHttpSecurityExecuteContextto invokeFlowinstances.- Type Parameters:
O- Dependency keys type.- Parameters:
managedObjectName- Name of theManagedObject.managedObjectSource-ManagedObjectSourcefor theManagedObject.managedObjectScope-ManagedObjectScopefor the resultingManagedObject.- Returns:
HttpSecuritySupportingManagedObjectto configure theManagedObject.
-