Class ManagedObjectLogoutFunction<AC extends Serializable,O extends Enum<O>,F extends Enum<F>>
java.lang.Object
net.officefloor.frame.api.function.StaticManagedFunction<Indexed,F>
net.officefloor.web.security.impl.ManagedObjectLogoutFunction<AC,O,F>
- All Implemented Interfaces:
ManagedFunction<Indexed,,F> ManagedFunctionFactory<Indexed,F>
public class ManagedObjectLogoutFunction<AC extends Serializable,O extends Enum<O>,F extends Enum<F>>
extends StaticManagedFunction<Indexed,F>
ManagedFunction and ManagedFunctionFactory to log out.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionManagedObjectLogoutFunction(String httpSecurityName, HttpSecurity<?, AC, ?, O, 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
-
ManagedObjectLogoutFunction
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.
-