Fórum

make a portlet that has the same functionality with login portlet

thumbnail
En Rico, modificado 11 Anos atrás.

make a portlet that has the same functionality with login portlet

Junior Member Postagens: 39 Data de Entrada: 06/12/11 Postagens Recentes
Hello,

i want to make my own vaadin portlet. This portlet should first show a login view before it will be forwarded to other page view.
My idea is:
the user sees my portlet and if he is not logged in yet in to the liferay portal, my portlet will show the login view.
Within this login view, the user can give their liferay username and password.
And i checked the code of login liferay portlet. They use LoginAction.


String login = LoginAction.getLogin(request, "login", company);


And in my vaadin application, I want to get this LoginAction. But i can't have it. Can anyone help me how to make a login portlet that enable users to login to liferay portal?
I dont want to use the login portlet the one that liferay has.

thank you.