Fórum

Force login for guest user before viewing any page

Sagar Aher, modificado 8 Anos atrás.

Force login for guest user before viewing any page

New Member Postagens: 8 Data de Entrada: 04/02/16 Postagens Recentes
Hello,

I am trying to setup a portal, which has requirement of forcing user to login first before visiting any page.
Guest user should not have access to any page.

Please suggest how to proceed.

I am following below approach, but no luck.
setup a site with only privates pages but its mandatory to have one public page.
so its not helping...

Any suggestion plz.
thumbnail
Manish Yadav, modificado 8 Anos atrás.

RE: Force login for guest user before viewing any page

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
you can't create a site with only private page, There should be atleast 1 public page... your approach is correct,
By they way you must require one public page in order to login user without public page its not possible at all to login in portal .
you can assign login portlet on that default public page