Package | Description |
---|---|
org.forgerock.audit.batch |
Package contains common audit batch configuration files.
|
org.forgerock.audit.events.handlers.buffering |
This package contains the batch publisher and its various implementations.
|
org.forgerock.audit.handlers.csv |
This package contains the default AuditEventHandler implementations.
|
org.forgerock.audit.rotation |
Audit log file rotation classes.
|
org.forgerock.http.filter.throttling |
This package contains the components used to implement a throttling rate support.
|
org.forgerock.http.handler |
Core
Handler implementations. |
org.forgerock.json |
Provides an API for the traversal and manipulation of JSON object model structures in Java.
|
org.forgerock.json.jose.jwk.store |
This package contains classes to manage a JWKs URI.
|
org.forgerock.openig.jwt |
Provides JWT capabilities to OpenIG.
|
org.forgerock.openig.tools |
Common tools used in policy service.
|
org.forgerock.util |
Provides common interfaces and classes.
|
org.forgerock.util.time |
Provides a time service abstraction.
|
Modifier and Type | Field and Description |
---|---|
static Duration |
CommonAuditBatchConfiguration.POLLING_INTERVAL
Common Audit Batch log records queue polling timeout as
Duration . |
Modifier and Type | Method and Description |
---|---|
BufferedBatchPublisher.Builder |
BufferedBatchPublisher.Builder.writeInterval(Duration writeInterval)
The interval duration between each write.
|
Modifier and Type | Method and Description |
---|---|
Duration |
CsvAuditEventHandlerConfiguration.CsvSecurity.getSignatureIntervalDuration()
Get's
CsvAuditEventHandlerConfiguration.CsvSecurity.getSignatureInterval() value as a Duration . |
Modifier and Type | Method and Description |
---|---|
Duration |
TimeLimitRotationPolicy.getRotationInterval()
Gets the rotation duration interval.
|
Modifier and Type | Method and Description |
---|---|
List<Duration> |
FixedTimeRotationPolicy.getDailyRotationTimes()
Get the list of times since midnight that rotation will occur at.
|
Constructor and Description |
---|
TimeLimitRotationPolicy(Duration rotationInterval)
Constructs a TimeLimitRotationPolicy with a given
Duration . |
Constructor and Description |
---|
FixedTimeRotationPolicy(List<Duration> rotationTimes)
Constructs a
FixedTimeRotationPolicy given a list of milliseconds after midnight to rotateIfNeeded the
files. |
Modifier and Type | Method and Description |
---|---|
Duration |
ThrottlingRate.getDuration()
Returns the duration of the sliding window.
|
Constructor and Description |
---|
TokenBucketThrottlingStrategy(org.forgerock.guava.common.base.Ticker ticker,
ScheduledExecutorService scheduledExecutor,
Duration cleaningInterval)
Constructs a new
TokenBucketThrottlingStrategy . |
Modifier and Type | Field and Description |
---|---|
static Option<Duration> |
HttpClientHandler.OPTION_CONNECT_TIMEOUT
The TCP connect timeout for new HTTP connections.
|
static Option<Duration> |
HttpClientHandler.OPTION_SO_TIMEOUT
The TCP socket timeout when waiting for HTTP responses.
|
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,Duration,JsonValueException> |
JsonValueFunctions.duration()
Returns the JSON string value as a
Duration . |
Modifier and Type | Field and Description |
---|---|
static Duration |
JwksStoreService.JWKS_STORE_DEFAULT_CACHE_MISS_CACHE_TIME_MS
The default cache time before reload the cache in case of cache miss ms.
|
static Duration |
JwksStoreService.JWKS_STORE_DEFAULT_CACHE_TIMEOUT_MS
The default cache timeout in ms.
|
Modifier and Type | Method and Description |
---|---|
Duration |
JwksStore.getCacheMissCacheTime()
Get the cache time before reload the cache in case of cache miss.
|
Duration |
JwksStore.getCacheTimeout()
Get the cache timeout.
|
Modifier and Type | Method and Description |
---|---|
JwksStore |
JwksStoreService.configureJwksStore(String uid,
Duration cacheTimeout,
Duration cacheMissCacheTime,
URL jwkUrl)
Configure a JWKs store.
|
void |
JwksStore.setCacheMissCacheTime(Duration cacheMissCacheTime)
Update the cache time before reload the cache in case of cache miss.
|
void |
JwksStore.setCacheTimeout(Duration cacheTimeout)
Update the cache timeout.
|
Modifier and Type | Field and Description |
---|---|
static Duration |
JwtSessionManager.MAX_SESSION_TIMEOUT
The maximum session timeout duration, allows for an expiry time of approx 10 years (does not take leap years
into consideration).
|
Constructor and Description |
---|
JwtCookieSession(Request request,
KeyPair pair,
String cookieName,
String cookieDomain,
TimeService timeService,
Duration sessionTimeout,
boolean persistentCookie,
SigningHandler signingHandler)
Builds a new JwtCookieSession that will manage the given Request's session.
|
JwtSessionManager(KeyPair keyPair,
String cookieName,
String cookieDomain,
TimeService timeService,
Duration sessionTimeout,
boolean persistentCookie,
SigningHandler handler)
Builds a new JwtSessionManager using the given KeyPair for session encryption, storing the opaque result in a
cookie with the given name.
|
Constructor and Description |
---|
CachePolicyDecisionFilter(ScheduledExecutorService executor,
TimeService timeService,
Duration defaultTimeout,
Duration maxTimeout)
Builds a
CachePolicyDecisionFilter . |
Modifier and Type | Method and Description |
---|---|
Duration |
PerItemEvictionStrategyCache.getMaxTimeout()
Gets the maximum timeout (can be null).
|
Modifier and Type | Method and Description |
---|---|
void |
PerItemEvictionStrategyCache.setMaxTimeout(Duration maxTimeout)
Sets the maximum timeout.
|
Modifier and Type | Method and Description |
---|---|
V |
PerItemEvictionStrategyCache.getValue(K key,
Callable<V> callable,
AsyncFunction<V,Duration,Exception> expire)
Borrow (and create before hand if absent) a cache entry.
|
Constructor and Description |
---|
PerItemEvictionStrategyCache(ScheduledExecutorService executorService,
Duration defaultTimeout)
Build a new
PerItemEvictionStrategyCache using the given scheduled executor. |
Constructor and Description |
---|
PerItemEvictionStrategyCache(ScheduledExecutorService executorService,
AsyncFunction<V,Duration,Exception> defaultTimeoutFunction)
Build a new
PerItemEvictionStrategyCache using the given scheduled executor. |
Modifier and Type | Field and Description |
---|---|
static Duration |
Duration.UNLIMITED
Special duration that represents an unlimited duration (or indefinite).
|
static Duration |
Duration.ZERO
Special duration that represents a zero-length duration.
|
Modifier and Type | Method and Description |
---|---|
Duration |
Duration.convertTo(TimeUnit targetUnit)
Convert the current duration to a given
TimeUnit . |
static Duration |
Duration.duration(long number,
TimeUnit unit)
Provides a
Duration , given a number and time unit. |
static Duration |
Duration.duration(String value)
Provides a
Duration that represents the given duration expressed in english. |
Modifier and Type | Method and Description |
---|---|
int |
Duration.compareTo(Duration that) |
Copyright 2011-2017 ForgeRock AS.