Package org.forgerock.openam.utils
This package contains general utilities for use throughout the OpenAM codebase.
-
Interface Summary Interface Description CipherProvider Abstract factory for obtainingCipherinstances.CodeGeneratorSource For extensibility of theRecoveryCodeGenerator.Config<T> Simple interface class for lazily retrieving configuration objects.ConfigListener Listener interface allowing changes to hot swappable configuration (e.g.DocumentBuilderProvider Abstract factory interface for supplying configuredDocumentBuilderinstances.OpenAMSettings Provides access to any OpenAM settings.SAXParserProvider Abstract factory interface for constructingSAXParserinstances.TransformerFactoryProvider Abstract factory for obtainingTransformerFactoryinstances. -
Class Summary Class Description AMKeyProvider Implementation of aKeyProviderinterface for retrieving X509 Certificates and private keys from the user data store.AttributeUtils A utility class to simplify dealing with attributes flagged as static or binary.BundleUtils Utility methods for dealing withResourceBundles.ClientUtils Shared utility class for HTTP Clients.CollectionUtils A simple utility class to simplify interactions with collections.CrestQuery This class was created to handle queries made via CREST that can provide either a _queryID (String) or a _queryFilter (QueryFilter<JsonPointer>) to search for.Enums ForwardedHeader A utility class for handling the RFC 7239 Forwarded header.IOUtils Utility class for handling I/O streams.IPRange JCECipherProvider ACipherProviderthat gets queries from the underlying Java Cryptographic Extension (JCE) facilities, viaCipher.getInstance(String, Provider).JsonArray A Builder class for creating json array objects.JsonObject A Builder class for creating JsonValues for json objects.JsonValueBuilder Builder factory class for a fluent way of creating JsonValue objects.MapHelper Utility class for operations onMaps.MappingUtils Utility method for parsing mappings.ModifiedProperty<T> Responsible for tracking the current and previous values of a property and indicating when they are differ.OpenAMSettingsImpl Provides access to any OpenAM settings.PerThreadCache<T,E extends Exception> Provides caching of some expensive objects in a per-thread LRU cache for performance.PerThreadCipherProvider ACipherProviderthat caches ciphers in per-thread storage.Providers Static factory methods for getting pre-configured provider instances.RealmNormaliser Normalises the realm so that the returned realm is nevernullor an empty String.RealmUtils Realm related utilities.RecoveryCodeGenerator Generates codes of a specified length using a givenAlphabetas valid characters.ServiceConfigUtils Static utilities for attribute retrieval for the provided service config.ShutdownMonitor Responsible for monitoring the system Shutdown state and providing this signal to callers that need to poll the shutdown state.SingleValueMapper<K,V> A utility collection which maintains mappings for any given value.StringUtils Utility class for handling Strings.TimeDuration Simple Class to Provide Time Duration Calculation for certain events within the OpenAM framework.TimeUtils A collection of static immutable time functions.ValidateIPaddress Validates IP V4 and V6 addresses. -
Enum Summary Enum Description Alphabet Representative of different alphabets.Time The source of all time-based information in OpenAM. -
Exception Summary Exception Description CodeException An exception for errors caused by invalid generation of codes.