Class ManagedObjectLogoutFunction<AC extends java.io.Serializable,O extends java.lang.Enum<O>,F extends java.lang.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 java.io.Serializable,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends StaticManagedFunction<Indexed,F>
ManagedFunction
andManagedFunctionFactory
to log out.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectLogoutFunction(java.lang.String httpSecurityName, HttpSecurity<?,AC,?,O,F> httpSecurity)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(ManagedFunctionContext<Indexed,F> context)
Executes the function.-
Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction
-
-
-
-
Constructor Detail
-
ManagedObjectLogoutFunction
public ManagedObjectLogoutFunction(java.lang.String httpSecurityName, HttpSecurity<?,AC,?,O,F> httpSecurity)
Instantiate.- Parameters:
httpSecurityName
- Name of theHttpSecurity
.httpSecurity
-HttpSecurity
.
-
-
Method Detail
-
execute
public void execute(ManagedFunctionContext<Indexed,F> context) throws java.lang.Throwable
Description copied from interface:ManagedFunction
Executes the function.- Parameters:
context
-ManagedFunctionContext
for theManagedFunction
.- Throws:
java.lang.Throwable
- Indicating failure of theManagedFunction
.
-
-