exo-addons / bonita-extension

Bonita Extension for eXo Platform
3 stars 7 forks source link

Handling of cookies #22

Open michaelknguyen opened 8 years ago

michaelknguyen commented 8 years ago

The loginBonita function assumes that the successful response will only contain a singular Set-Cookie header. Might work randomly. It should be fetching all the Set-Cookie headers and use the one with the (J)SessionID. Also, the exceptions should have been propagated properly rather than silently handled.