-
Deprecated Interfaces
-
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.since 5.1.6. Properties will be set reliably by
CrowdDirectoryServiceinstead.UseGroupMembershipsCreatedEventinstead. Since 2.10.UseGroupMembershipsDeletedEventinstead. Since 5.0.4.Listening on this event will degrade performance. Since 2.11, listen toUsersDeletedEventinstead.UseApplicationorImmutableApplicationinstead. Since v2.12.UseApplicationDirectoryMappinginstead. Since 2.12.Access group mappings throughApplication.getApplicationDirectoryMappings()instead. Since v2.12.UseImmutableDirectoryinstead. Since 3.6.0since 3.6.0.use @ImmutableTokeninstead. Since 3.6.0.UseImmutableWebhookinstead, since 3.6.0.useAuthenticatedTokenQueryinstead. Since 3.6.0.
-
Deprecated FieldsFieldDescriptionStore plugin data in the database. If that is impossible, use the shared home directory as obtained from HomeDirectoryService (located in crowd-server-api module).since 2.12.0, use
SynchronisationStatusManagerinsteadsince 2.12.0, useSynchronisationStatusManagerinsteadsince 2.12.0, useSynchronisationStatusManagerinsteadsince 2.12.0, useSynchronisationStatusManagerinsteadUseDirectory.isActive()instead. Since 3.4.0.UseDirectory.getName()instead. Since 3.4.0.UseApplication.isActive()instead. Since 3.4.0.UseApplication.getName()instead. Since 3.4.0.Use the more generalDirectoryEntities.LOWER_NAME_FUNCTION.Use the more generalDirectoryEntities.NAME_FUNCTION.Use the more generalDirectoryEntities.LOWER_NAME_FUNCTION.Use the more generalDirectoryEntities.NAME_FUNCTION.
-
Deprecated MethodsMethodDescriptionplease use
LdifLoaderRuleto 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.9UseDirectory.getName()instead. Since 3.4.0.create a new instance rather than mutating.create a new instance rather than mutating.UseDirectoryDao.search(EntityQuery)instead. Since v3.2.0since 2.10since 2.8.3. UseCrowdHttpAuthenticator.checkAuthenticated(HttpServletRequest, HttpServletResponse)instead.this method has never returned the directoryId and its existence violates the directory encapsulation. It will be removed in future versions.since 2.9.0. UseCrowdAuthenticator.checkAuthenticated(HttpServletRequest, HttpServletResponse)instead.since 2.9.0. UseCrowdAuthenticator.checkRememberMeLoginToCrowd(HttpServletRequest, HttpServletResponse)instead.As of v3.2, replaced byAuditService.shouldAuditEvent()UseDirectoryDaoTransactionalDecorator.search(EntityQuery)instead. Since v3.2.0UseDirectoryManager.searchDirectories(EntityQuery)instead. Since v3.2.0since 2.12.0, useSynchronisationStatusManager.getDirectorySynchronisationInformation(long)insteadsince 2.12.0, useSynchronisationStatusManager#syncFinished(long, SynchronisationStatusKey, List, String)insteadsince 2.12.0, useSynchronisationStatusManager.syncStatus(long, SynchronisationStatusKey, List)insteadsince 3.7 useEmailMessage.getTo()as it's possible to have multiple recipients of a single e-mailUseinsteadUseinsteadUseinsteadsince 4.4.0, UseMailManager.sendEmail(com.atlassian.crowd.manager.mail.EmailMessage)insteadsince 4.4.0, UseMailManager.sendEmail(com.atlassian.crowd.manager.mail.EmailMessage)insteadsince 4.4.0, UseMailManager.sendEmail(com.atlassian.crowd.manager.mail.EmailMessage)insteadUsePropertyManager.getCookieConfiguration()instead. Since v3.0.As of release 3.3, useMailConfigurationService.getMailConfiguration()As of release 3.3.0, usecom.atlassian.crowd.manager.mail.MailConfigurationService#getConfiguration()As of release 2.1, usePropertyManager.getProperty(String)this is no longer configurable in Crowd and always returnstrueUsePropertyManager.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, usecom.atlassian.crowd.manager.mail.MailConfigurationService#saveConfiguration()UsePropertyManager.setCookieConfiguration(CookieConfiguration)instead. Since v3.0.As of release 3.3.0, usecom.atlassian.crowd.manager.mail.MailConfigurationService#saveConfiguration()As of release 2.1, usePropertyManager.setProperty(String, String)UseApplication.getApplicationDirectoryMapping(long)instead. Since 2.12.UseApplication.getApplicationDirectoryMappings()instead. Since 2.12.UseUserTemplateWithAttributes.toUserWithNoAttributes(User)instead. Since v2.9.use safeAppendWhere insteadUseMembershipQuery.getEntityNamesToMatch()instead. Since v2.9Not set by current Crowd versions. Since v3.0.Since 6.2. UseCrowdRememberMeService.createCookie(User, HttpServletRequest, HttpServletResponse)instead.useSupportInformationBuilder.attributes(String, Map)instead. Since 3.4.useSupportInformationBuilder.field(String, Object)instead. Since 3.4.useSupportInformationBuilder.prefix(String)instead. Since 3.4.Just throw from @UpgradeTask.doUpgrade()instead. Upgrade tasks are singleton beans, so most hold the error list across multiple imports.useEmailAddressValidator. Since 4.4.0.
-
Deprecated ConstructorsConstructorDescriptionUse the
ImmutableAuditLogChangeset.Builderinsteadsince 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 theRestCrowdClientFactorymethodssince 3.7 useMailSendException(EmailMessage)since 3.7 useMailSendException(EmailMessage, Throwable)UseImmutableApplication.Builderinstead.UseMembershipQuery(Class, boolean, EntityDescriptor, String, EntityDescriptor, int, int, SearchRestriction)} instead. Since v2.9.UseSMTPServer.Builderinstead. Since 3.2UseSMTPServer.Builderinstead. Since 3.2UseSMTPServer.Builderinstead. Since 3.2
-
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.OTHERif 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.OTHERif 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.OTHERif 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.OTHERif 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.OTHERif 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.OTHERif none apply to your event.
SynchronisableDirectoryget their monitors added, updated and removed automatically.