public class ExactMatchIdentityMapper extends IdentityMapper<org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg> implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg>
| Constructor and Description |
|---|
ExactMatchIdentityMapper()
Creates a new instance of this exact match identity mapper.
|
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg configuration) |
void |
finalizeIdentityMapper()
Performs any finalization that may be necessary for this identity
mapper.
|
Entry |
getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification
string.
|
void |
initializeIdentityMapper(org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg configuration)
Initializes this identity mapper based on the information in the
provided configuration entry.
|
boolean |
isConfigurationAcceptable(org.forgerock.opendj.server.config.server.IdentityMapperCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for
this identity mapper.
|
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons) |
public ExactMatchIdentityMapper()
initializeIdentityMapper
method.public void initializeIdentityMapper(org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg configuration)
throws org.forgerock.opendj.config.server.ConfigException,
InitializationException
IdentityMapperinitializeIdentityMapper in class IdentityMapper<org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg>configuration - The configuration for the identity mapper.org.forgerock.opendj.config.server.ConfigException - If an unrecoverable problem arises in
the process of performing the
initialization.InitializationException - If a problem occurs during
initialization that is not
related to the server
configuration.public void finalizeIdentityMapper()
IdentityMapperfinalizeIdentityMapper in class IdentityMapper<org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg>public Entry getEntryForID(String id) throws DirectoryException
getEntryForID in class IdentityMapper<org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg>id - The identification string that is to be mapped to a user.null if no users were found that could be mapped to
the provided ID.DirectoryException - If a problem occurs while attempting to map
the given ID to a user entry, or if there are
multiple user entries that could map to the
provided ID.public boolean isConfigurationAcceptable(org.forgerock.opendj.server.config.server.IdentityMapperCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
IdentityMapperisConfigurationAcceptable in class IdentityMapper<org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg>configuration - The identity mapper configuration
for which to make the determination.unacceptableReasons - A list that may be used to hold the
reasons that the provided
configuration is not acceptable.true if the provided configuration is acceptable
for this identity mapper, or false if not.public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg>public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg configuration)
applyConfigurationChange in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.ExactMatchIdentityMapperCfg>Copyright © 2010-2020 Wren Security. All Rights Reserved.