Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Manuel Felipe Lopez
problem with numbers in screen_name field
January 7, 2009 5:51 AM
Answer

Manuel Felipe Lopez

Rank: New Member

Posts: 4

Join Date: January 7, 2009

Recent Posts

Hi,

I am trying to integrate Liferay with LDAP authentication in a active domain. A problem arises when liferay try import users becuase all the users names in the domain has numbers and the default policy for screen_name within Liferay not allow the use any diferent from letters and dots. Reading the forum I found that this behavior could be disable activating the "liberal" validator adding this to portal-ext.properties:

1users.screen.name.friendurl.ignore = false
2users.screen.name.validator = com.liferay.portal.security.auth.LiberalScreenNameValidator


However, when i restart tomcat to see if it works, I get a message telling me that the class is not found:

1ERROR [InstancePool: 60] Unable to load com.liferay.portal.security.auth.LiberalScreenNameValidator, com.liferay.portal.security.auth.LiberalScreenNameValidator with the portal class loader or the current context class loader
2java.lang.ClassNotFoundException: com.liferay.portal.security.auth.LiberalScreenNameValidator, com.liferay.portal.security.auth.LiberalScreenNameValidator


looking at the api for Liferay 5.12(the version I am using) i found the class is there:

http://docs.liferay.com/portal/5.1/javadocs/portal-impl/com/liferay/portal/security/auth/LiberalScreenNameValidator.html

could someone help me with this?

thanks
Juan Gonzalez
RE: problem with numbers in screen_name field
January 7, 2009 7:44 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2794

Join Date: October 28, 2008

Recent Posts

I answered you in the Liferay spanish forum category.

Regards