Package io.helidon.security.abac.time
Class TimeValidator.TimeConfig
java.lang.Object
io.helidon.security.abac.time.TimeValidator.TimeConfig
- All Implemented Interfaces:
 AbacValidatorConfig
- Enclosing class:
 - TimeValidator
 
Configuration for time attribute validator.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFluent API builder forTimeValidator.TimeConfig. - 
Method Summary
Modifier and TypeMethodDescriptionstatic TimeValidator.TimeConfigCreate a time config for a check between times within a day.builder()Builder for this class.static TimeValidator.TimeConfigCreate an time config from configuration.static TimeValidator.TimeConfigdaysOfWeek(DayOfWeek... days) Create a time config for a check for days of week. 
- 
Method Details
- 
builder
Builder for this class.- Returns:
 - a new builder instance
 
 - 
between
Create a time config for a check between times within a day.- Parameters:
 from- from time (ignoring date part)to- to time (ignoring date part)- Returns:
 - time configuration for this between config
 
 - 
daysOfWeek
Create a time config for a check for days of week.- Parameters:
 days- days the endpoint should be accessible on- Returns:
 - time configuration for this week day config
 
 - 
create
Create an time config from configuration.- Parameters:
 config- configuration located on this validator config key- Returns:
 - time configuration based on the config
 
 
 -