Hi I try to test some LTPA tokens code.
I modified the liberty server.xml
as well as adding <feature>ltpa-1.0</feature> and <feature>appSecurity-2.0</feature> to the feature list...
I have a login form which validates the user+pass .
If the password is wrong , Liberty will throw a message saying:
Authentication did not succeed for user ID dfsd. An invalid user ID or password was specified.
If password is correct: I get ClassCastException:
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: java.lang.ClassCastException: myclass.MyResponseWrapper cannot be cast to com.ibm.wsspi.webcontainer.servlet.IExtendedResponse
now my myclass.MyResponseWrapper extends HTTPServletResponseWrapper which itself implement s HTTPServletResponse.
So I wonder what went wrong here (it worked fine in previous version of Liberty profile)