Class DigestAuthHeaderFunction
java.lang.Object
org.citrusframework.functions.core.DigestAuthHeaderFunction
- All Implemented Interfaces:
org.citrusframework.functions.Function,org.citrusframework.functions.ParameterizedFunction<DigestAuthHeaderFunction.Parameters>
public class DigestAuthHeaderFunction
extends Object
implements org.citrusframework.functions.ParameterizedFunction<DigestAuthHeaderFunction.Parameters>
Function creates digest authentication HTTP header with given security parameters:
username
password
realm
noncekey
method
uri
opaque
algorithm
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.citrusframework.functions.ParameterizedFunction
org.citrusframework.functions.ParameterizedFunction.FunctionParameters -
Field Summary
Fields inherited from interface org.citrusframework.functions.Function
functions, logger, RESOURCE_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(DigestAuthHeaderFunction.Parameters params, org.citrusframework.context.TestContext context) voidsetNonceValidity(Long nonceValidity) Sets the nonceValidity.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.functions.ParameterizedFunction
execute
-
Constructor Details
-
DigestAuthHeaderFunction
public DigestAuthHeaderFunction()
-
-
Method Details
-
execute
public String execute(DigestAuthHeaderFunction.Parameters params, org.citrusframework.context.TestContext context) - Specified by:
executein interfaceorg.citrusframework.functions.ParameterizedFunction<DigestAuthHeaderFunction.Parameters>
-
setNonceValidity
Sets the nonceValidity.- Parameters:
nonceValidity- the nonceValidity to set
-
getParameters
- Specified by:
getParametersin interfaceorg.citrusframework.functions.ParameterizedFunction<DigestAuthHeaderFunction.Parameters>
-