Question

Im trying to do a Worklight form based authentication following this guide:

Using WebSphere DataPower as a Security Gateway for Protecting Mobile Traffic.

Iim using a WebSphere Application Server 8.0.0.6, Worklight 6.0.0(EE)and when i tried to login using the app, the console on the navigator returns this:

POST http:// localhost :9081/probandoEldap/apps/services/j_security_check 500 (Internal Server Error) "

and the following message:

"com.ibm.websphere.servlet.session.UnauthorizedSessionRequestException: SESN0008E: An user authentication with anonymous has tried to access to a session which is property of user :defaultWIMFileBasedRealm/uid=wasadmin,o=defaultWIMFileBasedRealm.

IBM WebSphere Application Server"

Is there anything that I must config on my websphere to make it work?

Was it helpful?

Solution

This seems to be a problem associated with wrong cookie. If you look into the j_security_check call you will see LTPA [most probably by the name LTPA2] cookies going with it. The cookie contains id of user 'wasadmin'. If you remove this cookie from request the problem will go away. Are you using local file based authentication?

  • Ajitabh
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top