[opencms-dev] using customize LoginServlet for login-authentication?

Vikrama Sanjeeva viki.sanjeeva at gmail.com
Fri Apr 11 02:27:07 CEST 2008


Hi,

     I am trying to do login-authentication in a servlet rather than doing
via a scriplet in Jsp. For this, I created a LoginServlet and passed it
pageContext, request and response objects from OpenCms JSP template using
form's POST method. In LoginServlet, I am gerttng exception on creating
below object:

  CmsJspActionElement cms = new
CmsJspActionElement(pageContext,request,response);

*exception:* *org.opencms.main.CmsRuntimeException:
"org.opencms.jsp.CmsJspBean" is usable only on a OpenCms controlled JSP
page.*

My question is: Is it possible to do login-authentication in OpenCms via
self developed LoginServlet?

Any guidelines are highly appreciated.

Thanks.

Bye,
Viki.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080411/e6d01cb8/attachment.htm>


More information about the opencms-dev mailing list