RE: Login without press sign in button

Lorenzo Leonori, modified 6 Years ago. Junior Member Posts: 31 Join Date: 10/29/18 Recent Posts
I've this question. I wan to enter into liferay portal without press sign in button.
For do this I use NTLM authentication, Infact if I press sign in button the user logged in the portal without insert screenName and password.

BUT I DON'T WANT PRESS SIGN IN BUTTON, how can do this?(look the attachment)
thumbnail
Olaf Kock, modified 6 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Authentication is forced when you access a protected page, e.g. when the "guest" role doesn't have "view" access for the page.
Edit the page permissions to remove this privilege, and login should be forced. That is assuming that it's otherwise already implemented.

I can't check it on NTLM - alternatively you can just protect any other page and access it - double check that indeed this happens before you protect every single page in your environment.
thumbnail
Amos Fong, modified 6 Years ago. Liferay Legend Posts: 2047 Join Date: 10/7/08 Recent Posts
I also don't know if this works on NTLM, but it works with SAML. Another possible solution is to create a ServletFilter that redirects the user to /c/portal/login?redirect=... if the user is not signed in.