Adjust for Removed Deprecations

Update your implementation to account for removed deprecations when upgrading from brXM 15.x to 16.y.

Removed Deprecated ConcurrentLoginFilter and ConcurrentLoginListener Classes

The previously deprecated and non-functional (NOOP) classes ConcurrentLoginFilter and ConcurrentLoginListener have been removed in brXM 16. If your CMS web.xml contains references to these classes, remove the following configuration snippets:

<!--No concurrent logins--> <filter> <filter-name>ConcurrentLogin</filter-name> <filter-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter</filter-class> </filter> <filter-mapping> <filter-name>ConcurrentLogin</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginListener</listener-class> </listener>

Removed Deprecated Repository Modules

The following Maven modules and associated classes, previously deprecated, have been removed in brXM 16:

  • org.onehippo.cms7:hippo-repository-deprecated-facetsearch
    • org.hippoecm.repository.jackrabbit.AbstractFacetSearchProvider.java
    • org.hippoecm.repository.jackrabbit.FacetSearchProvider.java
    • org.hippoecm.repository.jackrabbit.FacetSearchSubtypedDataProvider.java
    • org.hippoecm.repository.jackrabbit.FacetSubSearchProvider.java
  • org.onehippo.cms7:hippo-repository-deprecated-facetselectmirror
    • org.hippoecm.repository.jackrabbit.FacetSelectProvider.java
    • org.hippoecm.repository.jackrabbit.MirrorNodeVirtualProvider.java
    • org.hippoecm.repository.jackrabbit.SubtypedDataProvider.java

The following constant has also been removed:

  • org.hippoecm.repository.api.HippoNodeType#NT_FACETSUBSEARCH

Removed Deprecated GoogleAnalytics Module

The GoogleAnalytics module, deprecated since brXM 15.3, has been removed in brXM 16.

CMS

The following reports are no longer available:

  • “Buzz > Visitors Last Month”
  • “Totals > Visitors Last Two Weeks”

The following Maven artifact and Wicket plugin class have been removed:

  • org.onehippo.cms7:hippo-cms-google-analytics-frontend
    • org.onehippo.cms7.ga.editor.DocumentHitsPlugin

The following Java package and its classes have been removed:

  • com/onehippo/cms7/reports/plugins/ga
    • com.onehippo.cms7.reports.plugins.ga.Column
    • com.onehippo.cms7.reports.plugins.ga.GAPanel
    • com.onehippo.cms7.reports.plugins.ga.GAPlugin
    • com.onehippo.cms7.reports.plugins.ga.GAStore

The following repository configuration nodes have been removed:

  • /hippo:configuration/hippo:frontend/cms/hippo-reports/buzz-website-visits
  • /hippo:configuration/hippo:frontend/cms/hippo-reports/totals-website-visit

Required actions:

  • Remove the dependency on org.onehippo.cms7:hippo-cms-google-analytics-frontend from your CMS pom.xml if present.
  • Check for and remove any usage of the removed classes.

Delivery

The following Maven artifacts and related resources have been removed:

  • org.onehippo.cms7.hst.client-modules:hst-google-analytics-hst
    • googleanalytics.tld and its backing classes:
      • org.onehippo.cms7.hst.ga.tags.GoogleAnalyticsAccountIdTag
      • org.onehippo.cms7.hst.ga.tags.GoogleAnalyticsTrackDocumentTag
    • Web resource: google-analytics.js
  • org.onehippo.cms7.hst.client-modules:hst-google-analytics-repository
    • hippogoogleanalytics.cnd
      • Note: After deployment, this CND file remains in existing repositories and is visible in the console app, but does not affect functionality.
    • Repository configuration: /hippo:configuration/hippo:modules/googleAnalyticsConfiguration
    • Interface: org.onehippo.cms7.services.googleanalytics.GoogleAnalyticsService
    • Implementation: org.onehippo.cms7.googleanalytics.GoogleAnalyticsServiceImpl

Required actions:

  • Remove the dependency on org.onehippo.cms7.hst.client-modules:hst-google-analytics-hst from your site pom.xml if present. Also, remove any usage of the removed googleanalytics.tld.
    • In Freemarker templates (FTL), remove <@ga.accountId/>, <@ga.trackDocument/>, or <#assign ga=JspTaglibs["http://www.onehippo.org/jsp/google-analytics"]>.
    • In JSP files, remove <ga:accountId/>, <ga:trackDocument/>, or <%@ taglib uri="http://www.onehippo.org/jsp/google-analytics" prefix="ga" %>.
    • Remove any references to google-analytics.js if they point to the removed artifact.
  • Remove the dependency on org.onehippo.cms7.hst.client-modules:hst-google-analytics-repository from your CMS pom.xml if present.
    • Remove any YAML configuration that adds properties to /hippo:configuration/hippo:modules/googleAnalyticsConfiguration.

Removed Deprecations in Enterprise Forms

The undocumented PDF Filler functionality, deprecated since brXM 15.0, has been removed in brXM 16.

Removed classes:

  • com.onehippo.cms7.eforms.cms.extensions.PDFFillerPlugin.java
  • com.onehippo.cms7.eforms.hst.behaviors.PDFFillerBehavior.java
  • com.onehippo.cms7.eforms.hst.components.PDFFillingEformComponent.java
  • com.onehippo.cms7.eforms.hst.util.PdfDocument.java
  • com.onehippo.cms7.eforms.hst.util.PdfField.java
  • com.onehippo.cms7.eforms.hst.util.PdfValueLogVisitor.java

The following previously deprecated classes have also been removed:

  • com.onehippo.cms7.eforms.cms.extensions.ConfigurableMailFormDataPlugin.java (use MailFormDataPlugin instead)
  • com.onehippo.cms7.eforms.cms.validation.ValidationHelperPlugin.java
  • com.onehippo.cms7.eforms.hst.beans.CheckBoxBean.java
  • com.onehippo.cms7.eforms.hst.beans.EmailBlockBean.java
  • com.onehippo.cms7.eforms.hst.beans.RadioBoxBean.java
  • com.onehippo.cms7.eforms.hst.behaviors.ConfigurableMailFormDataBehavior (use MailFormDataBehavior instead)
  • com.onehippo.cms7.eforms.hst.components.AfterProcessComponent (use EformComponent or AutoDetectFormComponent instead)
  • com.onehippo.cms7.eforms.hst.components.ConfigurableMailAndStoreFormDataComponent (use EformComponent or AutoDetectFormComponent instead)
  • com.onehippo.cms7.eforms.hst.model.EmailBlock

The following constructors have been removed. Use the corresponding #builder methods instead:

  • com.onehippo.cms7.eforms.hst.model.TextField#TextField(Form, String, String, long, long, long)
  • com.onehippo.cms7.eforms.hst.model.RadioBox#RadioBox(RadioBoxBean, Form)
  • com.onehippo.cms7.eforms.hst.model.RadioBox#RadioBox(Form, String, String, String, String, boolean, String)
  • com.onehippo.cms7.eforms.hst.model.CheckBox#CheckBox(CheckBoxBean, Form)
  • com.onehippo.cms7.eforms.hst.model.CheckBox#CheckBox(Form, String, String, String, String, boolean, String)
  • com.onehippo.cms7.eforms.hst.model.DateField#DateField(Form, String, String, String)

Previously deprecated methods, attributes, or constants have been removed from the following classes:

  • com.onehippo.cms7.eforms.cms.exporter.FormContainerExporter
    • Removed #fetchLastInsertedColumn
  • com.onehippo.cms7.eforms.cms.extensions.ConfirmationPlugin
    • Removed #PROP_NAME_SENDER_ADDRESS. Do not use "eforms:confirmationsenderaddress"; use "eforms:confirmationreplytoaddress", "eforms-sender-email", or "eforms-sender-name" instead.
  • com.onehippo.cms7.eforms.hst.behaviors.AbstractMailBehavior
    • Removed overloaded #getPlainText and #getHtml methods with an EmailBlock parameter
    • Removed #createMailSender(HstRequest, ComponentConfiguration, FormBean, FormMap) (use createMailSender without bean and map parameters)
    • Removed #getFromAddress(HstRequest, ComponentConfiguration, FormBean, FormMap) (use getFromAddress without bean and map parameters)
    • Removed #getSenderAddress(HstRequest, ComponentConfiguration, FormBean, FormMap, MailAddress) (use getSenderAddress without bean and map parameters)
  • com.onehippo.cms7.eforms.hst.behaviors.MailFormDataBehavior
    • Removed #getRecipients(HstRequest, ComponentConfiguration, Form) (use getRecipients with a bean parameter)
    • Removed #getCcRecipients(HstRequest, ComponentConfiguration, Form) (use getCcRecipients with a bean parameter)
    • Removed #getBccRecipients(HstRequest, ComponentConfiguration, Form) (use getCcRecipients with a bean parameter)
    • Removed #getSubject(HstRequest, ComponentConfiguration, FormBean, String) (use getSubject with a HippoItem bean parameter)
    • Removed #createRecipients(String, String) (use #addRecipients(List, String, String) instead)
    • Removed #createReplyToAddresses(FormBean, FormMap) (use createReplyToAddresses with a HippoItem bean parameter)
    • Removed #EMPTY_ARRAY (unused)
  • com.onehippo.cms7.eforms.hst.behaviors.FormSubmissionCounterBehavior
    • Removed #getSubmissionCount(FormBean) and dependent methods
  • com.onehippo.cms7.eforms.hst.api.OnValidationErrorBehavior
    • Removed #onValidationError(HstRequest, HstResponse, ComponentConfiguration, FormBean, Form, FormMap, List<ErrorMessage>) (use the version with a Map as the errors argument)
  • com.onehippo.cms7.eforms.hst.api.ValidationSupport
    • Removed #onValidationError(HstRequest, HstResponse, Form, FormMap, List<ErrorMessage>) (use the version with a Map as the errors argument)
  • com.onehippo.cms7.eforms.cms.model.SingleValuePropertyModel
    • Removed constructors: #SingleValuePropertyModel(JcrPropertyModel) and #SingleValuePropertyModel(Property)
  • com.onehippo.cms7.eforms.hst.components.ConfirmFormComponent
    • Removed #addConfiguredBehaviors(HstRequest) (use #addConfiguredBehaviors instead)
    • Removed #getComponentParameter(HstRequest, String, String) (use #getComponentParameter(String, String) instead)
    • Removed #removeFormMap (do not use this method)
  • com.onehippo.cms7.eforms.hst.components.EformComponent
    • Removed #removeFormMap (do not use this method)

Removed Deprecations in Commons Module

The following classes, deprecated since brXM 12, have been removed in brXM 16:

  • org.onehippo.cms7.logging.log4j.JndiPropertyFilter
  • org.onehippo.cms7.logging.log4j.AbstractPropertyFilter

Use LookupFilter as a replacement.

In addition, the following interface method, deprecated since brXM 14, has been removed:

  • org.hippoecm.hst.security.AuthenticationProvider
    • Removed #getRolesByUsername (use #getRolesByUser(User) instead)

Removed Deprecations in Site Toolkit Security Module

The following classes, deprecated since brXM 14, have been removed in brXM 16:

  • org.hippoecm.hst.security.impl.HippoAuthenticationProvider
  • org.hippoecm.hst.security.impl.JcrAuthenticationProvider

Use RepositoryAuthenticationProvider instead.

The following method has been removed from RepositoryAuthenticationProvider:

  • #getRolesByUsername (this was an implementation of the removed interface method AuthenticationProvider#getRolesByUsername)

Removed Deprecations in Site Toolkit Core Module

The following property has been removed from SpringComponentManager properties in brXM 16:

  • security.authentication.role.domain

This property was used by the now-removed AuthenticationProvider classes.

Removed Deprecations in Taxonomy Plugin

The following methods have been removed in brXM 16:

  • org.onehippo.taxonomy.plugin.model.ClassificationDao
    • Removed #getClassification(IModel<Node>) (use #getClassification(IModel<Node>, Taxonomy) instead)
  • org.onehippo.taxonomy.plugin.TaxonomyFieldPlugin
    • Removed #isTaxonomyFieldValid (use ViolationUtils#getFirstFieldViolation and check for a violation)
Share Feedback
Page: /about/upgrade-guides/v15-v16/adjust-for-removed-deprecations
Section: About
Category *