Uses of Interface
org.forgerock.openam.core.realms.Realm
Packages that use Realm
Package
Description
This package contains the config API that is used to retrieve and persist configuration for services.
This package contains all classes pertaining to AM's IoT functionality.
This package contains the client credentials OAuth2 API.
This package contains the SAML2 SSO APIs.
This package contains the implementation of the SAML2 client APIs.
Provides classes for accessing trees components.
Contains classes that represent the model of the authentication trees.
Classes to model realms within AM.
This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.
The AM supporting classes for centrally configuring secrets.
Classes and interfaces to create configurable secret store backends.
Service interface for sending email messages and default implementation.
Contains classes around the Service Manager layer and some of their configuration.
-
Uses of Realm in org.forgerock.am.config
Fields in org.forgerock.am.config with type parameters of type RealmModifier and TypeFieldDescriptionprotected final Map<Listener.ServiceListenerEvent,
Collection<Consumer<Realm>>> Listener.realmActions
Methods in org.forgerock.am.config with parameters of type RealmModifier and TypeMethodDescriptionGets the configuration instances for the given realm.Gets the configuration instance for the given realm with the given id.RealmConfiguration.realmSingleton
(Realm realm) Gets the single configuration instance for the given realm.Method parameters in org.forgerock.am.config with type arguments of type RealmModifier and TypeMethodDescriptionListener.onRealmChange
(Consumer<Realm> action) Adds an action to be invoked if the requested service changes for a realm.Listener.onRealmChange
(Consumer<Realm> action, Listener.ServiceListenerEvent... events) Adds an action to be invoked if the requested service changes for a realm. -
Uses of Realm in org.forgerock.am.identity.application
Methods in org.forgerock.am.identity.application with parameters of type RealmModifier and TypeMethodDescriptiondefault IdentityStore
ReturnsIdentityStore
handle for a realm.LegacyIdentityService.findActiveIdentities
(Realm realm, IdType idType, Map<String, Set<String>> searchAttributes, IdSearchOpModifier searchModifier) Searches for AM identities with the given attributes in the given realm.LegacyIdentityService.findActiveIdentity
(Realm realm, IdType idType, Map<String, Set<String>> searchAttributes) Searches for an AM identity with the given attributes in the given realm.IdentityStoreLdapParametersProvider.getLdapParams
(Realm realm, String storeName) Gets theLdapConnectionParameters
for the chosen identity store. -
Uses of Realm in org.forgerock.am.identity.application.model
Methods in org.forgerock.am.identity.application.model that return RealmMethods in org.forgerock.am.identity.application.model with parameters of type Realm -
Uses of Realm in org.forgerock.am.identity.domain
Methods in org.forgerock.am.identity.domain with parameters of type RealmModifier and TypeMethodDescriptionstatic UniversalId
Creates a newUniversalId
instance based of the passed individual parts that represent a unique identity. -
Uses of Realm in org.forgerock.am.iot
Fields in org.forgerock.am.iot declared as RealmModifier and TypeFieldDescriptionprotected final Realm
AbstractJwtNode.realm
protected final Realm
AbstractJwtNode.realm
Methods in org.forgerock.am.iot that return RealmModifier and TypeMethodDescriptionOAuth2ThingsConfig.ConfigState.realm()
Returns the value of therealm
record component.Methods in org.forgerock.am.iot with parameters of type RealmModifier and TypeMethodDescriptionOAuth2ThingsConfig.getOAuth2ThingsDataStore
(Realm realm) Returns the data store for OAuth2 Machines for the given realm.OAuth2ThingsConfig.getOAuth2ThingsDn
(Realm realm) Returns the DN for OAuth2 Machines for the given realm.OAuth2ThingsConfig.getOAuth2ThingsIdentityObjectName
(Realm realm) Returns the identity object name for OAuth2 Machines for the given realm.OAuth2ThingsConfig.getOAuth2ThingsNamingAttribute
(Realm realm) Returns the naming attribute for OAuth2 Machines for the given realm.Constructors in org.forgerock.am.iot with parameters of type RealmModifierConstructorDescriptionConfigState
(Realm realm, Optional<String> oauth2ThingsDataStore, Optional<String> oauth2ThingsDn, Optional<String> oauth2ThingsNamingAttribute, Optional<String> oauth2ThingsIdentityObjectName) Creates an instance of aConfigState
record class.IotAuthenticationNode
(Realm realm, IotAuthenticationNode.Config config, org.forgerock.openam.core.CoreWrapper coreWrapper, IdentityStoreFactory identityStoreFactory, org.forgerock.am.iot.JwtProofOfPossessionVerifier.Factory popVerifierFactory, org.forgerock.am.iot.ClientAssertionVerifier.Factory assertionVerifierFactory, JwtBuilderFactory jwtBuilderFactory) Create an instance of theIotAuthenticationNode
.IotRegistrationNode
(Realm realm, IotRegistrationNode.Config config, org.forgerock.openam.core.CoreWrapper coreWrapper, org.forgerock.am.iot.JwtProofOfPossessionVerifier.Factory jwtPopVerifierFactory, org.forgerock.openam.integration.idm.IdmIntegrationConfig idmConfig, org.forgerock.openam.integration.idm.IdmIntegrationService idmIntegrationService, IdentityStoreFactory identityStoreFactory, JwtBuilderFactory jwtBuilderFactory, org.forgerock.oauth2.registration.SoftwareStatementVerifier.Factory softwareStatementVerifierFactory, org.forgerock.am.iot.OAuthAudienceProvider audienceProvider) Create an instance of theIotRegistrationNode
. -
Uses of Realm in org.forgerock.am.oauth2
Methods in org.forgerock.am.oauth2 that return RealmModifier and TypeMethodDescriptionAccessTokenRequest.getRealm()
Gets the non-null realm context in which an access token should be produced.Methods in org.forgerock.am.oauth2 with parameters of type RealmModifier and TypeMethodDescriptionSets the realm context in which an access token should be produced. -
Uses of Realm in org.forgerock.am.saml2.api
Methods in org.forgerock.am.saml2.api with parameters of type RealmModifier and TypeMethodDescriptionSaml2SsoInitiator.initiateSso
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Realm realm, String spEntityId, String idpEntityId, Options saml2Options) Initiates SAML2 SSO based on the provided parameters. -
Uses of Realm in org.forgerock.am.saml2.impl
Methods in org.forgerock.am.saml2.impl with parameters of type RealmModifier and TypeMethodDescriptionSaml2SsoResponseUtils.getSsoResultWithoutLocalLogin
(Realm realm, String spEntityId, String idpEntityId, Subject subject, Assertion assertion, String storageKey) Processes the received SAML2 response, without triggering local authentication.Saml2SpSsoInitiator.initiateSso
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Realm realm, String spEntityId, String idpEntityId, Options saml2Options) Saml2SsoResponseUtils.mapSamlAttributes
(Realm realm, String spEntityId, String idpEntityId, Saml2SsoResult ssoResult, Assertion assertion) Maps the SAML2 attributes from the assertion to local attribute values. -
Uses of Realm in org.forgerock.am.trees.api
Methods in org.forgerock.am.trees.api that return RealmMethods in org.forgerock.am.trees.api with parameters of type RealmModifier and TypeMethodDescriptionReturns a new tree builder.NodeFactory.createDynamicNode
(String type, Integer version, Map<String, Object> config, Realm realm, Tree tree, boolean configRequired) Constructs aNode
instance dynamically using the given type and configuration.NodeFactory.createDynamicNode
(String type, Integer version, Map<String, Object> config, Realm realm, Tree tree, boolean configRequired, UUID uuid) Constructs aNode
instance dynamically using the given type and configuration.Constructs aNode
instance that matches the given type and node ID.NodeRegistry.createNodeConfigInstance
(String serviceName, Integer version, Realm realm, Map<String, Object> config) Construct a non-persisted instance of the given service interface.NodeFactory.getNodeOutcomes
(PreferredLocales preferredLocales, Realm realm, String nodeId, String nodeType, Integer version) Get the node outcomes for a given node.NodeFactory.getOutcomeProvider
(Realm realm, String type, Integer version) Gets the outcome provider associated with a given node type.Returns tree with a given id if it is present in the provided realm.Returns all trees in the provided realm.TreeExecutor.process
(Realm realm, Tree tree, TreeState previousState, List<? extends Callback> callbacks, boolean resumedFromSuspended, ExternalRequestContext request) Process an authentication tree until either: A node requests input from the user. The tree completes with a success or failure.TreeUsage.reportUsages
(Realm realm, String treeName) Reports the usages of a tree in a realm. -
Uses of Realm in org.forgerock.am.trees.model
Methods in org.forgerock.am.trees.model with parameters of type Realm -
Uses of Realm in org.forgerock.openam.core.realms
Methods in org.forgerock.openam.core.realms that return RealmModifier and TypeMethodDescriptionLooks up the provided realm, in either its path or DN format.static Realm
Uses the realmString
to lookup the Realm.static Realm
Uses the realm as the parent realm and the subRealm as sub-realm to lookup the Realm.static Realm
Realms.root()
Gets the root realm.Methods in org.forgerock.openam.core.realms that return types with arguments of type RealmModifier and TypeMethodDescriptionRealms.getAsOptional
(String realm) Uses the realmString
to lookup the Realm.RealmLookup.lookupAsOptional
(String realm) Looks up the provided realm, in either its path or DN format.Methods in org.forgerock.openam.core.realms with parameters of type RealmModifier and TypeMethodDescriptionboolean
Determines if the provided realm is active or inactive.default boolean
Realm.isParentOf
(Realm subRealm) Returnstrue
if this realm is a parent of the provided sub realm.static Realm
Uses the realm as the parent realm and the subRealm as sub-realm to lookup the Realm.Method parameters in org.forgerock.openam.core.realms with type arguments of type RealmModifier and TypeMethodDescriptionvoid
RealmLookup.onRealmCreation
(Consumer<Realm> action) Add a listener for realm creation events.static void
Realms.onRealmCreation
(Consumer<Realm> action) Add a listener for realm creation events.void
RealmLookup.onRealmDeletion
(Consumer<Realm> action) Add a listener for realm deletion events.static void
Realms.onRealmDeletion
(Consumer<Realm> action) Add a listener for realm deletion events. -
Uses of Realm in org.forgerock.openam.ldap
Methods in org.forgerock.openam.ldap with parameters of type RealmModifier and TypeMethodDescriptionstatic ConnectionFactory
LDAPUtils.createFailoverConnectionFactory
(String host, int defaultPort, boolean ssl, String authDN, String authPasswd, boolean mtlsEnabled, String mtlsSecretId, Realm realm, Secrets secrets, Options options) Creates a ConnectionFactory from the host string and associated details.static ConnectionFactory
LDAPUtils.newFailoverConnectionFactory
(Set<org.forgerock.openam.ldap.LDAPURL> servers, String username, char[] password, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTls, boolean sslTrustAll, boolean mtlsEnabled, String mtlsSecretId, Realm realm, Secrets secrets, Options ldapOptions) Creates a new connection factory that is capable to failover to the servers defined in case there is an error.static ConnectionFactory
LDAPUtils.newFailoverConnectionPool
(Set<org.forgerock.openam.ldap.LDAPURL> servers, String username, char[] password, int maxSize, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTLS, boolean sslTrustAll, Options ldapOptions, boolean mtlsEnabled, String mtlsSecretId, Secrets secrets, Realm realm) Creates a new connection pool that is capable to failover to the servers defined in case there is an error.static ConnectionFactory
LDAPUtils.newFailoverConnectionPool
(Set<org.forgerock.openam.ldap.LDAPURL> primaryUrls, Set<org.forgerock.openam.ldap.LDAPURL> secondaryUrls, String username, char[] password, int maxSize, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTLS, boolean sslTrustAll, boolean mtlsEnabled, String mtlsCertificateLabel, Realm realm, Secrets secrets, Options ldapOptions) Creates a new connection pool that is capable to failover from the primary to the secondary servers defined in case there is an error. -
Uses of Realm in org.forgerock.openam.secrets
Methods in org.forgerock.openam.secrets that return types with arguments of type RealmModifier and TypeMethodDescriptionSecretStoreContext.getRealm()
The realm that the store is being instantiated in, orOptional.empty()
if it is being created as a global store.Methods in org.forgerock.openam.secrets with parameters of type RealmModifier and TypeMethodDescriptionSecrets.getActiveRealmSecrets
(Realm realm) Get an active secrets provider for the realm.SecretIdProvider.getRealmMultiInstanceSecretIds
(SSOToken authorizationToken, Realm realm) Returns the secret IDs used by realm level multi-instance services, e.g.Secrets.getRealmSecrets
(Realm realm) Get a secrets provider for the realm.Method parameters in org.forgerock.openam.secrets with type arguments of type RealmModifier and TypeMethodDescriptionstatic void
SecretsUtils.createKeyStorePurposeMapping
(org.forgerock.openam.secrets.config.SecretIdRegistry secretIdRegistry, org.forgerock.openam.secrets.config.KeyStoreSecretStore keyStore, String purposeLabel, List<String> aliases, Optional<Realm> realm, SSOToken authorizationToken) Creates a global purpose and adds a mapping for it to the given key alias in the given keystore. -
Uses of Realm in org.forgerock.openam.secrets.config
Methods in org.forgerock.openam.secrets.config with parameters of type RealmModifier and TypeMethodDescriptionvoid
PurposeMappingValidator.validate
(Realm realm, String serviceName, List<String> configPath, Map<String, Set<String>> attributes) void
SingleAliasPurposeMappingValidator.validate
(Realm realm, String serviceName, List<String> configPath, Map<String, Set<String>> attributes) -
Uses of Realm in org.forgerock.openam.services.email
Methods in org.forgerock.openam.services.email with parameters of type Realm -
Uses of Realm in org.forgerock.openam.sm
Methods in org.forgerock.openam.sm with parameters of type RealmModifier and TypeMethodDescriptionvoid
ServiceConfigValidator.validate
(Realm realm, List<String> configPath, Map<String, Set<String>> attributes) Implement this method to perform the validation of the attributes.void
ServiceConfigValidatorV2.validate
(Realm realm, String serviceName, List<String> configPath, Map<String, Set<String>> attributes) Implement this method to perform the validation of the attributes.