Uses of Annotation Interface
org.forgerock.util.annotations.VisibleForTesting
Packages that use VisibleForTesting
Package
Description
This package contains utility classes used in the audit service.
This package contains
Filter to authenticate and authorize LDAP connections.Contains code of the setup command line interface tool.
Contains code of the opendj setup model.
Contains a number of API declarations for use throughout the Directory Server.
Contains the code for implementing Directory Server pluggable storage backends.
Classes related to backup and restore.
Contains various classes that comprise the core of the Directory Server codebase.
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
Contains implementations of Directory Server access, error, and debug loggers.
Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using LDAPv3.
This package contains the part of the Multi-master replication code that works on the Directory Server side.
This package contains the code used by the replication server and by the code running on the Directory Server side to
exchange their information.
This package contains the code for the Replication Server part of the Multimaster replication feature.
This package contains a file-based log implementation for the changelog database API.
This package contains the generic of the Multi-Master replication code that works on the Directory Server side.
Defines the specific classes that are used by the upgrade tool.
Contains implementations for various Directory Server utility classes and methods which may be used throughout the
server but do not necessarily fit in elsewhere.
-
Uses of VisibleForTesting in org.forgerock.audit.util
Fields in org.forgerock.audit.util with annotations of type VisibleForTestingModifier and TypeFieldDescriptionprotected static final StringElasticsearchUtil.FIELD_NAMES_FIELDJSON field-name of normalized field-names.protected static final StringElasticsearchUtil.NORMALIZED_FIELDJSON field-name of metadata to assist in de-normalization.Methods in org.forgerock.audit.util with annotations of type VisibleForTestingModifier and TypeMethodDescriptionprotected static StringElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String json) Replaces all period-characters in JSON keys with underscore-characters [ref].protected static JsonValueElasticsearchUtil.restoreKeyPeriods(JsonValue value, JsonValue normalized) Reverses the normalization steps preformed byElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String). -
Uses of VisibleForTesting in org.forgerock.opendj.rest2ldap.authz
Classes in org.forgerock.opendj.rest2ldap.authz with annotations of type VisibleForTestingModifier and TypeClassDescriptionstatic final classA class used to verify whether a givenSignedJwtis valid.Methods in org.forgerock.opendj.rest2ldap.authz with annotations of type VisibleForTestingModifier and TypeMethodDescriptionstatic JwtFactories.JwtVerifierJwtFactories.newJwtVerifier(JwtFactories.JwtSecretsProvider secretsProvider) Returns a new SignedJwtVerifier.JwtFactories.newSignedJwtFactory(JwtFactories.JwtSecretsProvider secretsProvider, org.forgerock.json.jose.jws.JwsAlgorithm algorithm, Duration validityPeriodInSecs) Returns a new SignedJwtFactory.Promise<org.forgerock.json.jose.jws.SignedJwt,ResourceException> Verifies the given bearerToken is a validSignedJwt. -
Uses of VisibleForTesting in org.forgerock.opendj.setup.cli
Methods in org.forgerock.opendj.setup.cli with annotations of type VisibleForTestingModifier and TypeMethodDescriptionstatic com.forgerock.opendj.cli.ReturnCodeSetupCli.runSetup(PrintStream outStream, PrintStream errStream, String... args) The main method to be called by unit tests. -
Uses of VisibleForTesting in org.forgerock.opendj.setup.model
Fields in org.forgerock.opendj.setup.model with annotations of type VisibleForTestingModifier and TypeFieldDescriptionstatic final StringThe name of the JVM trust manager provider provided in the config template.static final PathSetupConstants.KEYSTORE_PIN_FILE_RELATIVE_PATHRelative instance path of the generated deployment SSL keystore PIN file.static final PathSetupConstants.TRUSTSTORE_PIN_FILE_RELATIVE_PATHRelative instance path of the generated SSL truststore PIN file.Methods in org.forgerock.opendj.setup.model with annotations of type VisibleForTestingModifier and TypeMethodDescriptionstatic voidSetupUtils.writeVersionsInConfigFile(Path configFile) Writes server binary and upgrade version in the provided LDIF config file. -
Uses of VisibleForTesting in org.opends.server.api
Methods in org.opends.server.api with annotations of type VisibleForTestingModifier and TypeMethodDescriptionabstract StringEntryCache.toVerboseString()Return a verbose string representation of the current cache maps. -
Uses of VisibleForTesting in org.opends.server.backends.pluggable
Methods in org.opends.server.backends.pluggable with annotations of type VisibleForTestingModifier and TypeMethodDescriptionvoidBackendImpl.clearBackend()Clears the contents of this backend, including any database files. -
Uses of VisibleForTesting in org.opends.server.backup
Classes in org.opends.server.backup with annotations of type VisibleForTestingModifier and TypeClassDescriptionfinal classA backup file manager is responsible for securely and lazily saving backend files and metadata to its underlying backup storage.Methods in org.opends.server.backup with annotations of type VisibleForTestingModifier and TypeMethodDescriptionBackupFileManager.getBackupIds()Returns the set of metadata IDS found in the underlying backup storage.BackupFileManager.readBackup(BackupId backupId) Reads the backup file with the provided ID from the underlying backup storage and converts it to a backup object.Constructors in org.opends.server.backup with annotations of type VisibleForTestingModifierConstructorDescriptionBackupManager(BackupFileManager backupFileManager, String serverId) Constructor. -
Uses of VisibleForTesting in org.opends.server.core
Classes in org.opends.server.core with annotations of type VisibleForTestingModifier and TypeClassDescriptionstatic final classThis class defines the entry cache dispatcher which acts as an arbiter for every entry cache implementation configured and installed within the Directory Server or acts an an empty cache if no implementation specific entry cache is configured.Methods in org.opends.server.core with annotations of type VisibleForTestingModifier and TypeMethodDescriptionvoidGroupManager.deregisterAllGroups()Removes all group instances that might happen to be registered with the group manager.Retrieves the set of client connections authenticated as the specified user. -
Uses of VisibleForTesting in org.opends.server.extensions
Fields in org.opends.server.extensions with annotations of type VisibleForTestingModifier and TypeFieldDescriptionstatic final byteExtensionsConstants.TYPE_PASSWORD_MODIFY_NEW_PASSWORDThe ASN.1 element type that will be used to encode the newPasswd component in a password modify extended request.static final byteExtensionsConstants.TYPE_PASSWORD_MODIFY_OLD_PASSWORDThe ASN.1 element type that will be used to encode the oldPasswd component in a password modify extended request.static final byteExtensionsConstants.TYPE_PASSWORD_MODIFY_USER_IDThe ASN.1 element type that will be used to encode the userIdentity component in a password modify extended request.Methods in org.opends.server.extensions with annotations of type VisibleForTestingModifier and TypeMethodDescriptionLdapUrl[]DynamicGroup.getMemberURLs()Retrieves the set of member URLs for this dynamic group. -
Uses of VisibleForTesting in org.opends.server.loggers
Constructors in org.opends.server.loggers with annotations of type VisibleForTestingModifierConstructorDescriptionTextAccessLogPublisher(TextWriter writer, ServerContext serverContext) Prints all messages to the provided writer. -
Uses of VisibleForTesting in org.opends.server.protocols.ldap
Methods in org.opends.server.protocols.ldap with annotations of type VisibleForTestingModifier and TypeMethodDescriptionlongLdapStatistics.getOperationsAbandoned()Retrieves the number of operations that have been abandoned by clients. -
Uses of VisibleForTesting in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin with annotations of type VisibleForTestingModifier and TypeMethodDescriptionstatic Collection<Dn>MultimasterReplication.getDomainDns()Returns the DNs of the replication domains.static EntryHistoricalEntryHistorical.newInstanceFromEntry(Entry entry) Construct an Historical object from the provided entry by reading the historical attribute.static voidMultimasterReplication.resetUnreachableReplicationServers()Resets the state of the unreachable replication servers to empty.Constructors in org.opends.server.replication.plugin with annotations of type VisibleForTestingModifierConstructorDescriptionEntryHistoricalAttribute(EntryHistorical entryHistorical) Creates a new ds-sync-hist attribute whose content is based on the provided historical information. -
Uses of VisibleForTesting in org.opends.server.replication.protocol
Methods in org.opends.server.replication.protocol with annotations of type VisibleForTestingModifier and TypeMethodDescriptionMonitorMsg.getReplicaServerStates()Returns the map of replica Ids to server states. -
Uses of VisibleForTesting in org.opends.server.replication.server
Methods in org.opends.server.replication.server with annotations of type VisibleForTestingModifier and TypeMethodDescriptionbooleanReplicationServerDomain.hasDifferentGenerationIdThan(ReplicaId replicaId) Returns whether the provided replica has a different generationId than this replication domain.voidReplicationServerDomain.resetGenerationId()Resets the generation id to its default value.static voidHeartbeatPublisher.setHeartbeatsDisabled(boolean heartbeatsDisabled) For testing purposes only to simulate loss of heartbeats. -
Uses of VisibleForTesting in org.opends.server.replication.server.changelog.file
Methods in org.opends.server.replication.server.changelog.file with annotations of type VisibleForTestingModifier and TypeMethodDescriptionvoidFileChangelogDB.clearDB()Clears all records from the changelog (does not remove the changelog itself). -
Uses of VisibleForTesting in org.opends.server.replication.service
Methods in org.opends.server.replication.service with annotations of type VisibleForTestingModifier and TypeMethodDescriptionReplicationDomain.getReplicationServerId()Get the replication server ID to which this domain is currently connected.intReplicationDomain.getReplicationServerPort()Get the port of the replicationServer to which this domain is currently connected.ReplicationBroker.receive()Receive a message. -
Uses of VisibleForTesting in org.opends.server.tools.upgrade
Fields in org.opends.server.tools.upgrade with annotations of type VisibleForTestingModifier and TypeFieldDescriptionstatic final StringUpgradeCli.OPTION_LONG_FORCE_UPGRADEThe value for the long option force upgrade. -
Uses of VisibleForTesting in org.opends.server.util
Fields in org.opends.server.util with annotations of type VisibleForTestingModifier and TypeFieldDescriptionstatic final ScheduledExecutorServiceCronExecutorService.NULL_CRON_EXECUTORA Null CronExecutor, used during server shutdown.