java.lang.Object
net.officefloor.frame.api.function.StaticManagedFunction<Indexed,F>
net.officefloor.web.security.impl.HttpChallengeFunction<O,F>
- All Implemented Interfaces:
ManagedFunction<Indexed,,F> ManagedFunctionFactory<Indexed,F>
public class HttpChallengeFunction<O extends Enum<O>,F extends Enum<F>>
extends StaticManagedFunction<Indexed,F>
ManagedFunctionFactory to challenge the client.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionHttpChallengeFunction(String httpSecurityName, HttpSecurity<?, ?, ?, O, F> httpSecurity) Initiate. -
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
-
HttpChallengeFunction
Initiate.- 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.
-