Fórumok

How to restrict user of particular domain to register

thumbnail
Ashwin Khandelwal, módosítva 12 év-val korábban

How to restrict user of particular domain to register

Junior Member Bejegyzések: 42 Csatlakozás dátuma: 2011.10.14. Legújabb bejegyzések
HI,


I need to restrict register only to particular domain. Like i want register allowd only to user with domain @xyz.com.


Thnks in advnc!!!
thumbnail
srikanth a, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Regular Member Bejegyzések: 144 Csatlakozás dátuma: 2011.02.21. Legújabb bejegyzések
Hi,
sorry i don't have much idea on it but, i think you can achieve this by a hook. In hook try to modify the code to allow the user to enter specified domain email while registration.

hope it gives some idea on what to do..

regards
Sri
thumbnail
Sandeep Nair, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Liferay Legend Bejegyzések: 1744 Csatlakozás dátuma: 2008.11.06. Legújabb bejegyzések
You can do the same from Control Panel -> Settings -> Authentication

Tick the check box against -> Allow strangers to create accounts with a company email address?

go to Control Panel ->Settings ->General
Set the mail domain to xyz.com

Regards,
Sandeep
thumbnail
Sagar A Vyas, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Liferay Master Bejegyzések: 679 Csatlakozás dátuma: 2009.04.17. Legújabb bejegyzések
Hi Sandeep,

I have done what you have suggested but even though i am allow to logging with different user than what i have set in mail domain.

Am i doing some mistake over there ?

Thanks,
Sagar Vyas
thumbnail
Sandeep Nair, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Liferay Legend Bejegyzések: 1744 Csatlakozás dátuma: 2008.11.06. Legújabb bejegyzések
Hmm,

I remember doing this when i was in old company in 2008 with 5.1.2 and then it was working. Right now its not working and there is a ticket raised for the same in JIRA but it is still open

http://issues.liferay.com/browse/LPS-2890

May be liferay team has to look in this issue

Regards,
Sandeep
thumbnail
Sagar A Vyas, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Liferay Master Bejegyzések: 679 Csatlakozás dátuma: 2009.04.17. Legújabb bejegyzések
Thanks for update.

So I guess now Ashvin can not achieve what he expect.

so now there is one way only change jsp create hook right :?

Thanks,
Sagar Vyas
thumbnail
Sandeep Nair, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Liferay Legend Bejegyzések: 1744 Csatlakozás dátuma: 2008.11.06. Legújabb bejegyzések
No, I think this should be reported. Since the functionality is already there. There is no point recreating logic twice
If you are using EE you should definitely get patch

Regards,
Sandeep
thumbnail
Sagar A Vyas, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Liferay Master Bejegyzések: 679 Csatlakozás dátuma: 2009.04.17. Legújabb bejegyzések
Hi Sandeep,

From where can i get patch for same ?
Is there any repo for same ?

Thanks,
Sagar Vyas
thumbnail
Sandeep Nair, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Liferay Legend Bejegyzések: 1744 Csatlakozás dátuma: 2008.11.06. Legújabb bejegyzések
If you are using EE version, there would be some point of Contact from Liferay support side. You can call him and tell him about the urgency of the bug and report the same in their JIRA.(You need to have customer credentials )

Regards,
Sandeep
thumbnail
Sagar A Vyas, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Liferay Master Bejegyzések: 679 Csatlakozás dátuma: 2009.04.17. Legújabb bejegyzések
Ok I will Try for same emoticon

Thanks for help.

- Sagar Vyas
thumbnail
Ashwin Khandelwal, módosítva 12 év-val korábban

RE: How to restrict user of particular domain to register

Junior Member Bejegyzések: 42 Csatlakozás dátuma: 2011.10.14. Legújabb bejegyzések
Hi Sagar,


Thnks for discussion.. If u achieve any break through in this issue kindly involved me also.


emoticon !!1