Blogs

RSS
RSS
thumbnail

What is two-way ssl communication? In two-ways ssl authentication, Client and server need to validate and authenticate each other's identities. This can be summarized with the picture below. How ever, I will be writing a separate post about SSL and two-way authentication later.         In this post we will talk about calling external API which is two way SSL...

4303
thumbnail

Hey, so a quick post today about how to set up JNDI connections in Liferay CE 7.4 or Liferay DXP 7.4. Liferay moved jars around in 7.4. No longer are there key jars in the Tomcat lib/ext directory (or for other application servers). To set up JNDI resources under 7.4, you'll need to put the necessary JDBC jars into the Tomcat lib directory (or the lib directory of your application server). In...

5637
thumbnail

Beginning in 2020 we adopted a new rolling release strategy providing more frequent Liferay Portal releases which included new features, improvements, and bug fixes.   Although the new release strategy saw huge improvements with introducing new features in a timely fashion, it still led to a period where new features would not be added to the product again for several months. ...

5968
thumbnail

The English version of this article can be found here: Fragments, React and Widgets. Los Fragmentos son simples, son trozos de HTML, CSS y JavaScript que se pueden añadir a una página y fácilmente desarrollados por programadores FrontEnd. Esta fue, más o menos, la primera definición que dimos cuando empezamos el proyecto Modern Site Building. Pero también sabemos que hoy en día esa definición...

3930
thumbnail

Fragments are simple, are just some pieces of HTML, CSS and JavaScript that can be added to a page and easily managed by FrontEnd developers. That was, more or less, the first definition we gave when we started the Modern Site Building project. But we know that today that definition is full of exceptions: fragments also have JSON configuration files, they can be rendered with Freemarker or...

4244
thumbnail

The Liferay Portal 7.4 GA7 release is primarily focused on fixes so no new notable features will be introduced with this release. This release also includes Log4j 2.17.1 to address CVE-2021-44832 Download options Liferay Portal and Liferay Commerce share the same Bundle and Docker image.  To get started using either Liferay Portal or Liferay Commerce, choose the best download option...

7055

For the second year in a row, this event will be global and fully virtual with live moderation from our studios in Germany. We are excited to invite you to another truly international event, full of inspiring keynotes, workshops, and deep dives. Registration will open soon, so mark your calendars – and stay tuned!   CALL FOR PAPERS!   Contribute to DEVCON by presenting your knowledge to...

4412
thumbnail

Introduction So recently I completed a database upgrade from Liferay EE 6.1 up to Liferay DXP 7.4. It was actually pretty straightforward and I didn't encounter any significant blockers. I did however learn some stuff along the way and I thought I'd share those details here so you will be able to do your next Liferay DB upgrade in the same way. Note that although I'm specifically including...

5566
thumbnail

Introduction So I wrote https://liferay.dev/blogs/-/blogs/extending-liferay-osgi-modules five years ago targeting Liferay 7.0. A lot has changed since then. Liferay Gradle Workspace plugin has seen numerous updates. Gradle has seen an update or two as well. Recently when asked to assist a client who wanted to extend Liferay's Journal Article service, I started by recommending they look...

4435
thumbnail

The Liferay Portal 7.4 GA6 release is primarily focused on fixes so no new notable features will be introduced with this release. Download options Liferay Portal and Liferay Commerce share the same Bundle and Docker image.  To get started using either Liferay Portal or Liferay Commerce, choose the best download option suited for your environment below. Docker image To use Liferay...

5689
thumbnail

The following versions of PortletMVC4Spring were released on January 5, 2022 AD: Version Description   5.3.1 For use with Spring Framework 5.3.x (tested with 5.3.12) Release Notes 5.2.2 For use with Spring Framework 5.2.x (tested with 5.2.18.RELEASE) Release Notes 5.1.3 For use with Spring Framework 5.1.x (tested with 5.1.20.RELEASE)...

4692
thumbnail

Introduction Liferay DXP is a flexible platform which has been developed initially to support developers to easily implement business automation needs. We always face the question “what if i have a custom business requirements, how easy can we implement that if we adapt Liferay?”, in this blog we will discover the ease of customizing Liferay to implement business needs smoothly. Prerequisites...

4800
thumbnail

Introduction Liferay DXP has traditionally offered a wide variety of extension mechanisms to extend and customize the platform. Most of these mechanisms require the deployment of custom-written code to be activated. As we move towards SaaS solutions and Cloud offerings, we need to provide other extension mechanisms that don't require customers to deliver and run arbitrary code on the company...

3181
thumbnail

NOTE: Recap made by all the organizers of /dev/24 It's been some time since /dev/24 ended and it's time to look back and analyze what /dev/24 was. The main feeling is that the second edition of /dev/24, on November 3 and 4, had the same spirit as the first one.     If you write {curly braces}, this is for you! If you only read them, it'll help you to write. On this edition, two...

2852
thumbnail

​​​​​​​ Download options Liferay Portal and Liferay Commerce share the same Bundle and Docker image.  To get started using either Liferay Portal or Liferay Commerce, choose the best download option suited for your environment below. Docker image To use Liferay Portal 7.4 GA5: docker run -it -p 8080:8080 liferay/portal:7.4.3.5-ga5 For more information on using the official Liferay...

3271
thumbnail

When we think about Liferay, we always think about Liferay development style. Even to create React modules until 7.3 version, the React code is Liferay based because you need to have an OSGI module to achieve the final result. However, things are changing!  First, what is React? React is a declarative, efficient, and flexible JavaScript library for building user interfaces. It lets you...

4127
thumbnail

Hello all, The easiest thing you can do to mitigate the recent vulnerabilities in Log4j is to set the JVM parameter -Dlog4j2.formatMsgNoLookups=true. While this solution is not perfect, it should provide sufficient protection given how Log4j is used in Liferay Portal. However, based on Log4j's newest recommendation to mitigate by removing the JndiLookup class, the Community Security Team...

3613
thumbnail

The new installers and IDE 3.9.5 ga6 which support development on the upcoming Liferay 7.4 U1 has been made available. Community Download https://liferay.dev/-/ide-installation-instructions Customers Download https://customer.liferay.com/downloads/-/download/liferay-workspace-with-developer-studio-3-9-5 ...

2868
thumbnail

I've often been asked whether we can process additional UserInfo data from an OpenId Connect session after successful log in. I used to share this piece of code where I had my way to access the OpenIdConnect Session object in order to retrieve the Access Token Liferay obtained in order to fetch additional info: https://github.com/fabian-bouche-liferay/oidc-userinfo-mapping/ However, last...

2590
thumbnail

The Apache Log4j project is now saying that setting -Dlog4j2.formatMsgNoLookups=true is not a 100% guarantee that you are protected from exploits. I think that currently no one has found a way to exploit the vulnerability on Liferay with -Dlog4j2.formatMsgNoLookups=true set but many prefer to be extra safe. As it has been stated before, you're likely to find log4j2 in DXP...

5910