Wednesday, 27 February 2013

How to change user authentication Type in Liferay ?

 How to change user Authentication/ login Type in Liferay? If i want to use screen name instead of emailAddress
There  are two ways to change login type in liferay
1)
company.security.auth.type=emailAddress
#company.security.auth.type=screenName
#company.security.auth.type=userId

In the above case , screenName and userId are commented out using #

2)
a)Login as Admin
b)go to Control panel
c)Click on the Portal setting in the left panel under portal tab
d)Click on the Authentication link in the right panel
e)Select the desired login type from the drop down(How do users authenticate? ) under the General tab.

LDAP connection Read timeout in Liferay

LDAP connection Read timeout in Liferay

Put this lines in portal-ext.properties file to avoid this problem

ldap.connection.com.sun.jndi.ldap.connect.timeout=1000
ldap.connection.com.sun.jndi.ldap.read.timeout=2000


Map Ldap Group with Liferay role

Map Ldap Group with Liferay role


Put the following line into portal-ext.properties file

ldap.import.create.role.per.group=true
layout.show.portlet.access.denied=false