My colleague has come across an issue in some development were doing at the moment. Were doing form based authentication in 12.0 and because of the constraints of our login procedure we're creating a JSESSIONID which is validated and correct before we do any work with the JSDO. Our login procedure needs a username, password and another token for login. As soon as we try to create a JSDOSession everything is going wrong as we're already logged in.

Is there an easy way of passing a validated security token into a JSDOSession via a JSESSIONID which already exists?