Wednesday, 30 July 2014

Simple Captcha Text Producer Implementation

This blog is in reference to the Liferay hook in Marketplace. Following is the link for the Captcha Internationalization. Captcha Internationalization Hook Same Concept can be used to implement multilingual Captcha for any web site. Simple Captcha is the opensource implementation for captcha service. Please check the following URL for more details about SimpleCaptcha. http://simplecaptcha.sourceforge.net/ Simple Captcha is providing textProducer for Captcha implementation. The textProducer class produces a string with some random Character...

Tuesday, 22 July 2014

Liferay HSQL DB Access

        Normally at the time of development, we have fixed name of database which will be used for production environment. We configure the same DB in our local or development environment for the build. But in case of doing POC, preparing demo for PreSales or making some reusable component, we might not have access to such environment, or as per the system requirement, It might not be a good idea to spend time after configuring...

Monday, 14 July 2014

Mobile/SMS Verification

        Now a days, Most of the site needs to verify the mobile number and email address of their users for security purpose. Liferay is providing email verification OOB. I have developed a reusable component to verify mobile number of the customer using SMS service.         This plugin will help to integrate that functionality directly to the Liferay portal.         Key Features Admin can enable/disable mobile verification very easily. Mobile...

Tuesday, 1 July 2014

LDAP server Error Codes

Code(decimal)Error code (string)Description 0LDAP_SUCCESSSuccess 1LDAP_OPERATIONS_ERROROperations error 2LDAP_PROTOCOL_ERRORProtocol error 3LDAP_TIMELIMIT_EXCEEDEDTimelimit exceeded 4LDAP_SIZELIMIT_EXCEEDEDSizelimit exceeded 5LDAP_COMPARE_FALSECompare false 6LDAP_COMPARE_TRUECompare true 7LDAP_STRONG_AUTH_NOT_SUPPORTEDStrong authentication not supported 8LDAP_STRONG_AUTH_REQUIREDStrong authentication required 9LDAP_PARTIAL_RESULTSPartial results 16LDAP_NO_SUCH_ATTRIBUTENo such attribute 17LDAP_UNDEFINED_TYPEUndefined attribute type 18LDAP_INAPPROPRIATE_MATCHINGInappropriate...