Class ClientCertificateCredentialsCondition

java.lang.Object
io.micronaut.azure.condition.ClientCertificateCredentialsCondition
All Implemented Interfaces:
io.micronaut.context.condition.Condition, Predicate<io.micronaut.context.condition.ConditionContext>

public class ClientCertificateCredentialsCondition extends Object implements io.micronaut.context.condition.Condition
The condition for the client certificate credential that evaluates true if there is one certificate path provided. In case both certificate paths are provided the condition fails.
Since:
3.1
Author:
Pavol Gressa
  • Constructor Details

    • ClientCertificateCredentialsCondition

      public ClientCertificateCredentialsCondition()
  • Method Details

    • matches

      public boolean matches(io.micronaut.context.condition.ConditionContext context)
      Specified by:
      matches in interface io.micronaut.context.condition.Condition