Deprecated API
Contents
-
Terminally Deprecated Elements
-
Deprecated InterfacesInterfaceDescriptionSince v3.0.0. Crowd no longer exposes monitoring details. All directories implementing
SynchronisableDirectory
get their monitors added, updated and removed automatically.
-
Deprecated ClassesClassDescriptionSince v2.12 - directory instances no longer rely on instance-local state (when using the new v2.12 components) and don't need to be cached.Use
GroupMembershipsCreatedEvent
instead. Since 2.10.UseGroupMembershipsDeletedEvent
instead. Since 5.0.4.Listening on this event will degrade performance. Since 2.11, listen toUsersDeletedEvent
instead.UseApplication
orImmutableApplication
instead. Since v2.12.UseApplicationDirectoryMapping
instead. Since 2.12.Access group mappings throughApplication.getApplicationDirectoryMappings()
instead. Since v2.12.UseImmutableDirectory
instead. Since 3.6.0since 3.6.0.use @ImmutableToken
instead. Since 3.6.0.UseImmutableWebhook
instead, since 3.6.0.This encoder uses unsafe encryption. Please consider steps to migrate to a more secure encoderThis encoder uses unsafe encryption. Please consider steps to migrate to a more secure encoderThis encoder uses unsafe encryption. Please consider steps to migrate to a more secure encoderThis encoder uses unsafe encryption. Please consider steps to migrate to a more secure encoderThis encoder uses unsafe encryption. Please consider steps to migrate to a more secure encoderuseAuthenticatedTokenQuery
instead. Since 3.6.0.
-
Deprecated FieldsFieldDescriptionsince 7.0since 7.0
-
Deprecated MethodsMethodDescriptionplease use
LdifLoaderRule
to make sure that the last restored LDIF file is tracked correctlyUseAuditLogChangeset.getAuthor()
#} instead. Since 3.2.0.UseAuditLogChangeset.getAuthor()
#} instead. Since 3.2.0.UseAuditLogChangeset.getAuthor()
#} instead. Since 3.2.0.use theAuditLogChangeset.getEntities()
insteaduse theAuditLogChangeset.getEntities()
insteaduse theAuditLogChangeset.getEntities()
insteadUseCrowdService.addUser(UserWithAttributes, String)
instead. Since v2.9create a new instance rather than mutating.create a new instance rather than mutating.UseDirectoryDao.search(EntityQuery)
instead. Since v3.2.0since 2.10this method has never returned the directoryId and its existence violates the directory encapsulation. It will be removed in future versions.As of v3.2, replaced byAuditService.shouldAuditEvent()
UseDirectoryDaoTransactionalDecorator.search(EntityQuery)
instead. Since v3.2.0UseDirectoryManager.searchDirectories(EntityQuery)
instead. Since v3.2.0As of release 3.3, useMailConfigurationService.getMailConfiguration()
As of release 3.3.0, useinvalid reference
com.atlassian.crowd.manager.mail.MailConfigurationService#getConfiguration()
As of release 2.1, usePropertyManager.getProperty(String)
this is no longer configurable in Crowd and always returnstrue
UsePropertyManager.setCookieConfiguration(CookieConfiguration)
instead. Since v3.0.UsePropertyManager.setCookieConfiguration(CookieConfiguration)
instead. Since v3.0.this is no longer configurable in Crowd and this method has no effect.As of release 3.3, useinvalid reference
com.atlassian.crowd.manager.mail.MailConfigurationService#saveConfiguration()
UsePropertyManager.setCookieConfiguration(CookieConfiguration)
instead. Since v3.0.As of release 3.3.0, useinvalid reference
com.atlassian.crowd.manager.mail.MailConfigurationService#saveConfiguration()
As of release 2.1, usePropertyManager.setProperty(String, String)
since 7.0.0 useApplication.getAuthMethod()
insteadUseApplication.getApplicationDirectoryMapping(long)
instead. Since 2.12.UseApplication.getApplicationDirectoryMappings()
instead. Since 2.12.since 7.0.0 useImmutableApplication.Builder.setAuthMethod(AuthMethod)
insteadsince 7.0.0 useImmutableApplication.getAuthMethod()
insteadsince 7.0.0 useAuthenticationContext.getAuthMethod()
insteadUseUserTemplateWithAttributes.toUserWithNoAttributes(User)
instead. Since v2.9.use safeAppendWhere insteadUseMembershipQuery.getEntityNamesToMatch()
instead. Since v2.9Not set by current Crowd versions. Since v3.0.Just throw from @UpgradeTask.doUpgrade()
instead. Upgrade tasks are singleton beans, so most hold the error list across multiple imports.
-
Deprecated ConstructorsConstructorDescriptionUse the
ImmutableAuditLogChangeset.Builder
insteadsince 1.3.2, please use any other PasswordCredential constructor, this constructor should only be used by hibernate. If this constructor is used, please be aware that you must setPasswordCredential.setEncryptedCredential(boolean)
use theRestCrowdClientFactory
methodsUseImmutableApplication.Builder
instead.
-
Deprecated Enum ConstantsEnum ConstantDescriptionThis event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type or
AuditLogEventType.OTHER
if none apply to your event.This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type orAuditLogEventType.OTHER
if none apply to your event.This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type orAuditLogEventType.OTHER
if none apply to your event.This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type orAuditLogEventType.OTHER
if none apply to your event.This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type orAuditLogEventType.OTHER
if none apply to your event.This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type orAuditLogEventType.OTHER
if none apply to your event.