How to change the authentication type for login portlet in liferay

We have 3 options to change the authentication type for login.

1. Go to the controlPanel, navigate to the portal section and click on the portal setting and click on the Authentication right handside as shown in below screen shot.



 select the values from the selectbox of "How do users authenticate?" ans click on the save button to save the changes.


2.We can change the properties in the portal-ext.properties as, here i have changed to authenticate by screen name.

    #
    # The portal can authenticate users based on their email address, screen
    # name, or user id.
    #
    #company.security.auth.type=emailAddress
    company.security.auth.type=screenName
    #company.security.auth.type=userId

3. Changing the settings of login portlet.

Go to page where login portlet is reside and click on the setting icon as shown below.



and click on the "configuration" which will navigate to the below screen and then select the authentication type from the select box and click on the save button to change the authentication type.





Comments

Popular posts from this blog

Theme display in javascript

How to know which liferay version we are using

Opening portlet in popup