Class RequestSignatureCheckSystemPropertyCondition
java.lang.Object
io.micronaut.aws.alexa.httpserver.verifiers.RequestSignatureCheckSystemPropertyCondition
- All Implemented Interfaces:
io.micronaut.context.condition.Condition
,Predicate<io.micronaut.context.condition.ConditionContext>
public class RequestSignatureCheckSystemPropertyCondition
extends Object
implements io.micronaut.context.condition.Condition
Condition
which return true if System property "com.amazon.ask.servlet.disableRequestSignatureCheck" is present and evaluates to true.- Since:
- 2.0.0
- Author:
- sdelamo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(io.micronaut.context.condition.ConditionContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.context.condition.Condition
test
-
Constructor Details
-
RequestSignatureCheckSystemPropertyCondition
public RequestSignatureCheckSystemPropertyCondition()
-
-
Method Details
-
matches
public boolean matches(io.micronaut.context.condition.ConditionContext context) - Specified by:
matches
in interfaceio.micronaut.context.condition.Condition
-