Class ManagedObjectAuthenticateFunction<AC extends java.io.Serializable,C,F extends java.lang.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 java.io.Serializable,C,F extends java.lang.Enum<F>> extends StaticManagedFunction<Indexed,F>
ManagedFunction
andManagedFunctionFactory
forAuthenticationContextManagedObjectSource
authentication.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectAuthenticateFunction(java.lang.String httpSecurityName, HttpSecurity<?,AC,C,?,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
-
ManagedObjectAuthenticateFunction
public ManagedObjectAuthenticateFunction(java.lang.String httpSecurityName, HttpSecurity<?,AC,C,?,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
.
-
-