Class TimeValidatorService

java.lang.Object
io.helidon.security.abac.time.TimeValidatorService
All Implemented Interfaces:
AbacValidatorService

public class TimeValidatorService extends Object implements AbacValidatorService
Time validator java service for AbacProvider.
  • Constructor Details

    • TimeValidatorService

      public TimeValidatorService()
  • Method Details

    • configKey

      public String configKey()
      Description copied from interface: AbacValidatorService
      Key of the "root" of configuration of this validator.

      Example - scope validator, the configuration in yaml may then be:

       security.providers:
         - abac:
           fail-on-unvalidated: true
           scope:
            ....
       
      Specified by:
      configKey in interface AbacValidatorService
      Returns:
      name of the configuration key
    • instantiate

      public AbacValidator<? extends AbacValidatorConfig> instantiate(Config config)
      Description copied from interface: AbacValidatorService
      Create a new instance of the validator based on the configuration provided. The config is located at the config key of this provider.
      Specified by:
      instantiate in interface AbacValidatorService
      Parameters:
      config - Config with provider configuration
      Returns:
      validator instance created from the Config provided