Class ManagedObjectAuthenticateFunction<AC extends Serializable,C,F extends Enum<F>>
java.lang.Object
net.officefloor.frame.api.function.StaticManagedFunction<Indexed,F>
net.officefloor.web.security.impl.ManagedObjectAuthenticateFunction<AC,C,F>
- All Implemented Interfaces:
ManagedFunction<Indexed,,F> ManagedFunctionFactory<Indexed,F>
public class ManagedObjectAuthenticateFunction<AC extends Serializable,C,F extends Enum<F>>
extends StaticManagedFunction<Indexed,F>
ManagedFunction and ManagedFunctionFactory for
AuthenticationContextManagedObjectSource authentication.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionManagedObjectAuthenticateFunction(String httpSecurityName, HttpSecurity<?, AC, C, ?, F> httpSecurity) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ManagedFunctionContext<Indexed, F> context) Executes the function.Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction
-
Constructor Details
-
ManagedObjectAuthenticateFunction
public ManagedObjectAuthenticateFunction(String httpSecurityName, HttpSecurity<?, AC, C, ?, F> httpSecurity) Instantiate.- Parameters:
httpSecurityName- Name of theHttpSecurity.httpSecurity-HttpSecurity.
-
-
Method Details
-
execute
Description copied from interface:ManagedFunctionExecutes the function.- Parameters:
context-ManagedFunctionContextfor theManagedFunction.- Throws:
Throwable- Indicating failure of theManagedFunction.
-