Blogs

RSS
RSS
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...

4301
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 ...

3504
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...

3306
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...

6950
thumbnail

The landscape for Identity and Access Management has changed over the years. Whereas in the past, we'd often rely on proprietary or home grown solutions, we can now largely rely on well established standards. Setting up Single Sign On has become easier as many SaaS providers offer some free plans and there is even easy-to-use software out there. In this article, I'm going to show you how you...

5080
thumbnail

Hey, all! There's a new zero-day vulnerability hitting the web right now, and it is affecting a lot of libraries and applications out there, including Liferay 7.4. Any app using Log4j2 is vulnerable. If you are using Log4j2 in your customizations or you are using Liferay 7.4 (which now uses Log4j2), this new vulnerability affects you. I'm not going to show anything about how to take advantage...

20969
thumbnail

Recently I started a new "Office Hours" session to occur every other Tuesday at 9am EST/10am EDT (14:00 UTC) and 4pm EST/5pm EDT (21:00 UTC) on a Zoom bridge. Here you can bring questions, ideas, or whatever. Heck, feel free to join and just talk about your Liferay projects if you want. I'll post the Zoom meeting bridge to the Liferay Community Slack, feel free to sign...

6869
thumbnail

Nuestra comunidad cumple otro año más, y llegamos a los cuatro. En estos momentos son en los que echamos la vista atrás para ver el camino que hemos recorrido y que nos anima a mirar para adelante con ilusión para continuar con este proyecto. Aunque parecía que este año íbamos a continuar como habíamos dejado el pasado 2020, lo cierto es que con lo que respecta a Liferay y la comunidad ha...

5782

While Liferay has many wonderful features like DRAC, a docs repository, user self registration, and more, I still would like to store my data for custom portlets/applications in an external database. It’s like, you know, data independence! I found David H Nebinger’s blog for Liferay 7, Service Builder and External Databases. I struggled with a few issues, and I updated some things over Dave’s...

6009
thumbnail

Esta entrada de blog está también disponible en español It is increasingly common to deploy applications or microservices in a container-based infrastructure, such as Kubernetes or Openshift. Liferay Portal / DXP is not far behind in this regard and thanks to the fact that it is a totally agnostic platform to the underlying infrastructure, it is possible to implement it in this type of...

5628

Blade is one of the great Liferay development tools. This is true, unless it stops working! Or, maybe you ran the blade installer and the error came up and you now wonder what to do now?! Punt? Watch a spaghetti western? That’s what this blog is about, resolving issue(s) with blade, two issues that have occurred on Windows for me using blade. Blade Error Failed to find Java VM Liferay...

4590
thumbnail

  This blog is also available in english Cada vez es más habitual el despliegue de aplicaciones o microservicios en una infraestructura basada en contenedores, como Kubernetes u Openshift. Liferay Portal/DXP no se queda atrás en este aspecto y gracias a que es una plataforma totalmente agnóstica a la infraestructura subyacente, es posible su implementación en este tipo de...

4215
thumbnail

I had a bit of a hiccup when running my demo during /dev/24 so I ran through my presentation again.   Here is the recording as promised: https://drive.google.com/file/d/1h3WqERQr4VHphOlzUYdSAxgKcCoWCnX-/view?usp=sharing Feel free to ask questions below. Thanks, Dave

3982

  At the time of this writing, the Maven archetype for a JSF portlet with CDI enabled generates output that can only be built using Maven in order to enable CDI. This currently works with Liferay Portal 7.3 and not 7.4. With a few tweaks, you can make your JSF portlet use your Gradle build system. Initially, you will use Maven to generate the code and while it does put int a build.gradle,...

5489
thumbnail

Introduction In a recent blog I explained how to create a React-based portlet within your Liferay Gradle Workspace by using the js-widget Blade template which in turn uses the Yeoman Liferay JS Generator to create the project. (Wow, that was a mouthful ;-) ) In this way, you can have your Liferay Gradle Workspace take care of building your complete suite of Liferay modules, the...

6782
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 GA4 and Liferay Commerce 4.0 GA4 run the following: docker run -it -p 8080:8080 liferay/portal:7.4.3.4-ga4 For more...

8893
thumbnail

Esta entrada de blog  está también disponible en español. One of the star features of the Kubernetes world is, without a doubt, the Horizontal Pod Autoscaling. With it, we can benefit from a superior performance capacity of our service at specific moments, where the original dimensioning of our cluster may not be sufficient, avoiding degradation or even loss of service. Kubernetes...

5311
thumbnail

Check english version here Una de las funcionalidades estrella del mundo de Kubernetes es, sin lugar a dudas, la del Autoescalado Horizontal de Pods. Con ella, podemos beneficiarnos de una capacidad de rendimiento superior de nuestro servicio en momentos puntuales, donde el dimensionamiento origen de nuestro cluster pueda no ser suficiente, evitando degradamiento o incluso...

5110

I struggle on this for over 3 weeks. god... my envirement Liferay CE 7.4.2 GA3 Oracle JDK 8 Windows 10 Liferay Developer Studio Version: 3.9.4.202108090632-ga5   sometime, we have to connect to another database for many reasons, system is old, they cannot provide web service..etc.   there have two ways for this purpose, DataSourceProvider and SpringBeans IMPORTANT! 1. before...

5975
thumbnail

Overview For the many years Liferay theme was the only way for defining the portal appearance. Usually, when a new project started (or customer requested a new site with a brand new design) - development  began with a new theme creation. With themes it's possible to define the overall styling and the basic page structure. Also, we can define the configuration options with...

6154