Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
na na
Liferay AutoLogin
September 18, 2008 10:41 PM
Answer

na na

Rank: Junior Member

Posts: 94

Join Date: April 29, 2008

Recent Posts

Is there anyway to login to liferay with parameter passing on the url and skip the liferay login portlet?
Eg. http://localhost:8080/c/portal/login?username=test&password=test
Gustavo Fernández Gómez
RE: Liferay AutoLogin
September 18, 2008 11:53 PM
Answer

Gustavo Fernández Gómez

Rank: Regular Member

Posts: 191

Join Date: October 26, 2007

Recent Posts

Hi,

i use firebug to log the request and the url seems to be something similar to:

http://SERVER_NAME/c/portal/login?cmd=already-registered&login=USER&password=PASSWORD&redirect=&rememberMe=false&tabs1=already-registered


--gustavo
na na
RE: Liferay AutoLogin
September 21, 2008 6:24 PM
Answer

na na

Rank: Junior Member

Posts: 94

Join Date: April 29, 2008

Recent Posts

Gustavo Fernández Gómez:
Hi,

i use firebug to log the request and the url seems to be something similar to:

http://SERVER_NAME/c/portal/login?cmd=already-registered&login=USER&password=PASSWORD&redirect=&rememberMe=false&tabs1=already-registered


--gustavo


Since I had configure the liferay to authenticate using ldap + ntlm so when I submit the above url it will pop up an authentication window for the ntlm username and password. So is there anyway to bypass it for those user that don't want to authenticate through ntlm and just use the regular liferay authentication.
So is there any parameter value i need to submit so it won't use ntlm and use regular liferay login?
curious Liferay
RE: Liferay AutoLogin
October 20, 2009 10:20 PM
Answer

curious Liferay

Rank: Junior Member

Posts: 57

Join Date: October 8, 2009

Recent Posts

if u were able to find the soln of ur problem could u please post it here.
Jerry Niu
RE: Liferay AutoLogin
October 20, 2009 11:15 PM
Answer

Jerry Niu

LIFERAY STAFF

Rank: Expert

Posts: 451

Join Date: June 21, 2006

Recent Posts

curious Liferay:
if u were able to find the soln of ur problem could u please post it here.


I would check out this wiki page:
Developing a Custom Authentication System

Take note of the AutoLogin section.