Blogs

RSS
RSS
thumbnail

Liferay gives us the possibility to add Oauth (OpenId connect) authentication out of the box. It’s also possible to give access to third-party applications via Oauth authentication. But what if you don’t want your user to log in to your portal with Oauth but still give them the possibility to enhance their experience by connecting your portal to some third party service authenticated...

7238
thumbnail

Office 365 is becoming the attention centre of many companies those days. Integration of Office 365 in their portal become needed to add features like registering to an event in your Calendar, creating a contact directory from Azure AD or showing a message from a specific Teams. The Microsoft documentation explains well how to use the Microsoft Graph API with many technologies, but...

8827
thumbnail

Recently when I was working on my custom Headless API blog series, I ran into a bit of trouble with my Service Builder-based persistence tier. My SB code was done and working, and I was adding methods to my CLI tool to test all of the Headless methods. I had the list working, I could add, update and patch Vitamins, and I just finished the delete method testing and I was on cloud...

8103
thumbnail

Introduction I've recently started working on a React SPA to take advantage of the Liferay Headless APIs. I was working through all of my implementation details and was finally ready to start making API calls, but I needed to figure out how to handle authenticated requests. I reached the following point in the documentation,...

12921
thumbnail

It's been about ten years now,  so if that isn't a sign of dedication to a product, then I don't know what is. Last year at DevCON in Amsterdam I shared the first part of my story, The Journey of a Liferay Developer: The Search for Answers -- how I discovered the platform, the challenges I faced learning it, and the road I walked to get to where I am today (or rather...

6529
thumbnail

This post assumes that you are at least familiar with Webpack. If not, you might find this post helpful. It explains first why we stopped developing portlets and use a javascript frontend + rest services approach. It doesn’t cover the rest backend at all. Then it explains why we use Webpack as a task runner and compare it a bit to the Liferay NPM Bundler. A little and simple demo...

6444
thumbnail

If you’ve spent time rummaging around Liferay’s search and indexing documentation provided here, you’ll find a lot of details about document contributors, index writers, search registrars, etc. The part that might be missing is what all of these things actually do, why they are important, and why you actually want to go down the road of supporting indexing and search for your custom...

6000
thumbnail

Introduction Welcome back to my series on using Liferay's REST Builder tool to generate your own Headless APIs! In part 1 of the series, we created a new project and modules, and we started to create the OpenAPI Yaml file defining our headless services by specifying the Reusable Components section. In part 2 of the series, we completed the OpenAPI Yaml file by adding in...

7242
thumbnail

Just a quick post today... So I've been using the Target Platform like all the time now. I don't want to have to worry about versions, especially those Liferay modules that change version numbers on every fix pack... However, I've found that sometimes the version numbers just aren't there. But often I only find this out after I've stripped out the version and tried a build. My...

4906
thumbnail

Introduction In part 1 of this series, we started a project to leverage Liferay's new REST Builder tool for generating Headless APIs. We defined the Reusable Components section, the section where we define our request and response objects, namely the Vitamin component and a copy of Liferay's Creator component. In part 2 of the series, we finished the OpenAPI Yaml file by defining...

6808
thumbnail

Introduction In part 1 of this series, we started a project to build our own custom Headless APIs using Liferay's REST Builder tool. The project was started, four modules were created and I presented the Meta and Reusable Components sections from my OpenAPI Yaml file. We're going to pick up where we left off and finish presenting the Paths (endpoints) section and then start...

7397
thumbnail

Introduction So recently I have been working with Liferay's new Headless APIs... I have a nice React-based SPA leveraging the new headless-delivery and headless-user-admin modules. I'm going to release everything eventually, but some parts just aren't ready yet. The first part is ready, though: using the new REST Builder tool to create your own Headless APIs. I know what...

11142
thumbnail

Hello, in this blog article i will share with you how to use clustering with Liferay Community Edition 7.2, show the differents used discovery modes (Mutlicast and Unicast), and how to configure them especially for Unicast (TCPing, JDBCPing, S3Ping) You find below the list of modules that make Liferay Clustering work  : com.liferay.portal.scheduler.multiple.jar ...

7237
thumbnail

Recently I was one of many trying to help a coworker figure out why a Liferay OOTB feature was failing... We had odd stack traces, null object references when OSGi never should have allowed a null to begin with, and nothing we tried would fix the problem. Eventually we found that, for some reason, two different versions of a Liferay bundle had been deployed into the environment....

4491
thumbnail

So the last couple of days I've been working on a new React Headless app that I'm going to be sharing soon, but for various reasons I've had to refer to the /api/jsonws page to check out the classic APIs there that are still available. Just as a bit of background, I have an awesome 27" iMac that I do all of my development on. I love it so much that I purchased an additional Apple...

3563
thumbnail

Whenever I start working with a new client, I always share with them my three rules for effectively working with support: 1. Open tickets as soon as you think you will need Liferay Support. With each new ticket there is sometimes necessary "back and forth" in order to gather necessary contextual details. Opening tickets as soon as possible will hopefully help to clear this portion...

3502
thumbnail

Just a quick post today... Helped a client who was getting a message in the logs after configuring the SAML SP in Liferay using an ADFS IdP: Caused by: org.opensaml.ws.security.SecurityPolicyException: Inbound message issuer was not authenticated. at org.opensaml.ws.security.provider.MandatoryAuthenticatedMessageRule.evaluate(MandatoryAuthenticatedMessageRule.java:38) ...

3379
thumbnail

Participate in an Open Source project? Meaning ... do what exactly? The trouble with that phrase is that everyone puts their own meaning in it. Some will claim it’s not participation unless you write code. Others will claim that’s actually “contributing” (which IMHO is not less ambiguous word) and everything else is participation. For us, it’s simple - whatever you do to make our...

5968
thumbnail

As expected (we wrote the redirect rules after all) and confirmed by our access logs, the documentation was the first place you discovered in the new Liferay Portal website. But did you notice what has changed apart from the URL? New documentation structure  The 7.2 developer docs are now organized in a new way - grouped by tasks you as developer may have:  ...

6190
thumbnail

Have you been asked “What is Liferay Portal?” or “Why are you using it?” or similar questions? Given all the things it actually is and does, it is sometimes hard to find a simple and accurate answer! So we thought we would provide one for you: It’s The Java Platform for Busy Developers   At least, that is what we believe it is and we are working hard to make it easier...

4377