掲示板
Login
I have written a jsf-login-portlet. Now I want to get access to the liferay portal, when a user logins with the jsf-login-portlet. How do I manage this? Please help me!
What is your problem exactly? What does your portlet do? Just displays the fields? You can look at what default login portlet does and replicate it in yours.
The portlet just displays the input fields and validates them. The default-login page is based on struts, but how to do the login without struts?
Liferay has an internal authentication process to go through. You cannot simply bypass it. It is easy to extend. I wrote up a page on how to customize it: custom authentication
James
James
Is there an example of a jsf-portlet (integrated in liferay, like the other portlets)? How do I have to define e.g. the portlet-custom.xml,... I always get an error of the method getWindowState of class LifecycleImpl?!
I think there is an example for ext environment. I found it hard to write portlets that use Liferay services outside ext. environment, so you might find it easier to do it how Liferay recommends.