maxAge = intValue(defaultInitParam(rc, PROPERTY_MAX_AGE, "300000")); // 5 minutes
gcPeriod = intValue(defaultInitParam(rc, PROPERTY_GC_PERIOD, "100")); // every 100 on average
ignorePathPattern = pattern(defaultInitParam(rc, PROPERTY_IGNORE_PATH_PATTERN, null)); // no pattern
optional = rc.getFeature(FEATURE_NO_FAIL);
nonces = new NonceManager(maxAge, gcPeriod);
// www-authenticate header for the life of the object
wwwAuthenticateHeader = "OAuth realm=\"" + realm + "\"";
}