Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
LiveSite Login
rangandr
I'm attempting to build an ldap login component according to the sticky thread in this forum (based on IWOV LDAPLogin).
Testing in component preview:
2007-06-20 14:19:42,454 ERROR com.interwoven.livesite.servlet.Login - post: Login failed
java.lang.NullPointerException
at com.interwoven.livesite.runtime.User.getIsLoggedIn(User.java:138)
at com.interwoven.livesite.servlet.Login.doPost(Login.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
...
Testing on runtime site:
HTTP Status 404 - /LiveSite/Login
The runtime doesn't seem to have any servlet mapping to hand the <form type="login"> post...
Has anyone had success with this? Thanks!
Find more posts tagged with
Comments
gomes
Hi,
I am also getting the same problem.If you find solution.Kindly let me know.
Thanks in advance
AlexC
The problem above seems to be that you are using the stock Login external and did not set the User object in the UserSession. From the exception it happens when calling isLoggedIn which access the user object. Please look at the default implementation of the login controller.
If the User object is not applicable, you have to write your own external for login that generates component DOM part and the XSL uses it to display the component. The OOTB login controller, external and component were built for each other, so if you create your own you may need to rewrite all 3 (is some cases you can reuse what is there).