Make sure the configuration values representing expiration or inactivity don't exceed the given limit.
The implementation can use this method to implement other time-related validations,
for example that inactivity is less than expiration, etc.
The implementation may decide to fix the discovered problems by replacing too large values with the limit, and report a warning.