Warning: Creating default object from empty value in /home/customer/www/2016.bee-scala.org/public_html/wp-content/themes/eventum/admin/inc/class.redux_filesystem.php on line 29




CTO @ SoftwareMill

I am one of the co-founders of SoftwareMill, where I code mainly using Scala and other interesting technologies. I am involved in open-source projects, such as Macwire, Supler, ElasticMQ and others. I have been a speaker at major conferences, such as JavaOne, Devoxx and ScalaDays. Apart from writing closed- and open-source software, in my free time I try to read the Internet on various (functional) programming-related subjects, any ideas or insights usually end up on my blog: http://www.warski.org/blog

Web & mobile session management using akka-http

Almost all web & mobile applications need some kind of *session support*: after logging in, state should be maintained which allows to identify the user on the server during subsequent requests in a *secure* way, so that the data cannot be tampered with.

`akka-http` is a great toolkit for building reactive mobile/web backends, using an elegant DSL; `akka-http-session` builds on top of that to provide secure session management.

We’ll discuss how session storage can be implemented, what are the security challenges (with an emphasis on cookies) and what kind of solutions `akka-http-session` provides. We’ll also do a quick introduction to `JWT` (Json Web Tokens), one of the supported formats for encoding session data.

Finally, no presentation can be complete without a **live demo** showing how using `akka-http-session` looks like in practice.