Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Create users without email address in liferay

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1.30k
    Comment on it

    Hello Guys

    Liferay provide functionality to create user without email address.

    Here, we need to set user email rquired property to false in portal-ext.properties file.

    users.email.address.required=false
    

    You need to set the suffix of the email address that will be automatically generate the email address.

    put below property in the portal-ext.properties file :

    users.email.address.auto.suffix=@no-emailaddress.com
    

    Implement the EmailAddressGenerator class for email generation using below property in portal-ext.properties file.

    users.email.address.generator=com.liferay.portal.security.auth.DefaultEmailAddressGenerator
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: