Legacy Knowledge Base
Published Sep. 10, 2025

How to blacklist the Sign in Portlet

Written By

Sivakumar Perumal

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

Environment

  • Liferay Portal 6.2
  • Liferay DXP 7.0
  • Liferay DXP 7.1

Resolution

  • For Liferay 6.2
    • Option 1(requires a restart): Liferay has provided the OOTB property to enable and disable the Sign in the portlet

      #
      # Set a list of comma delimited portlet ids that will bypass the security
      # check set in the property "portlet.add.default.resource.check.enabled".
      #
      portlet.add.default.resource.check.whitelist=3,56_INSTANCE_0000,58,82,86,103,113,145,164,166,170

      In the above property, the value "58" belongs to portlet ID of Sign in the portlet. In order to completely disable, remove the portlet ID "58" from the property. After removing, it should look like below:

      portlet.add.default.resource.check.whitelist=3,56_INSTANCE_0000,82,86,103,113,145,164,166,170 
    • Option 2: Removing the "view" permission for the guest user

      • Add sign-in portlet in the homepage(if it is not present in homepage)

      • Click on options -> configuration -> permission -> uncheck the View for Guest user and save it.

    • Option 3: Disabling through Portal.
      • Navigate to Control Panel-> Apps -> App Manager -> Liferay Core.
      • In Liferay Core-> Select Sign In Portlet from Drop Down-> Click on active-> it will get inactive.      

pic.PNG

By these three options, the login can be disabled.

  • For Liferay DXP 7.0 and 7.1
    • By following the below steps. we can disable the Login Portlets in DXP 
      1. The Login Portlet can be disabled by deactivating the Sign In,
        • Navigate to Control Panel.
        • Go to Configuration> Components> Portlets> Sign In>> Edit and uncheck the "Active" checkbox. (As shown below)

SignIn.PNG

Additional Information

  • There are two types of Sign-In portlet. One is Sign-In portlet which we have covered above and the other one is Fast Sign-In portlet.

  • For Liferay Portal 6.2

Capture1.PNG

Did this article resolve your issue ?

Legacy Knowledge Base