-
ClassDescriptionSince 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
CrowdDirectoryService
instead.UseGroupMembershipsCreatedEvent
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.useAuthenticatedTokenQuery
instead. Since 3.6.0.
-
FieldDescriptionStore 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
SynchronisationStatusManager
insteadsince 2.12.0, useSynchronisationStatusManager
insteadsince 2.12.0, useSynchronisationStatusManager
insteadsince 2.12.0, useSynchronisationStatusManager
insteadUseDirectory.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
.
-
MethodDescriptionplease 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.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-mailUseinstead
Useinstead
Useinstead
since 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 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, 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.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.
-
ConstructorDescriptionUse 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
methodssince 3.7 useMailSendException(EmailMessage)
since 3.7 useMailSendException(EmailMessage, Throwable)
UseImmutableApplication.Builder
instead.UseMembershipQuery(Class, boolean, EntityDescriptor, String, EntityDescriptor, int, int, SearchRestriction)
} instead. Since v2.9.UseSMTPServer.Builder
instead. Since 3.2UseSMTPServer.Builder
instead. Since 3.2UseSMTPServer.Builder
instead. Since 3.2
-
Enum 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.
SynchronisableDirectory
get their monitors added, updated and removed automatically.