About



MBTI



1989

1999–2008

2008–2015

2015–2016

2017–today

Blog


This is a basic example how to implement oAuth2 using Akka HTTP and Scala. It provides three endpoints. From the clients point of view:

  • / — publicly accessible, returns “Welcome!”,
  • /auth — provide your username and password, receive an access_token in return,
  • /api — secured by oAuth, send the access_token in a header to gain access.

From the server’s point of view:

  • / — publicly accessible, do nothing,
  • /auth — receive basic auth credentials, verify they’re in the list of known credentials, create an access_token, return it,
  • /api — receive authorization header, check if access_token is in list of valid tokens.

Since oAuth tokens are short lived, the server also has to invalidate expired tokens.




Getting a Akka HTTP-based backend up and running on Heroku for free can be done in less then 30 minutes — if you know the tricks.




This example show how to write a reactive reader for the AWS Simple Queue Service, using Scala and alpakka (respective akka streams).




Software


Publications


2014

Jannik Arndt: “Musicista — A Framework for Computational Musicology”. Masterarbeit, 2014.    

Jannik Arndt: “Erkennung von Motiv- und Themenvariationen”, in Gesellschaft für Informatik (Hrsg.): Informatiktage 2014, LNI S-13, Potsdam, 2014 (ISBN 978-3-88579-447-9)  

Jannik Arndt, Thomas Meents, Bernd Nottbeck: “Multidimensional Process Mining mit dem Process Cube Explorer”, in Gesellschaft für Informatik (Hrsg.): Informatiktage 2014, LNI S-13, Potsdam, 2014 (ISBN 978-3-88579-447-9)  

2013

Jannik Arndt: “Genetic Mining und Heuristic Mining”. 2013.  

Ira Diethelm, Jannik Arndt, Malte Dünnebier, Jörn Syrbe: “Informatics in Schools: Local Proceedings of the 6th International Conference ISSEP 2013 - Selected Papers”, Commentarii informaticae didacticae, Universitätsverlag Potsdam, 2013.  

2012

Jannik Arndt: “Forderungen an ein Datenmodell für Rekombination als Ansatz für Künstliche Kreativität”, in Proc. 3rd IEEE Germany Student Conference, Passau, 2012.  

Jannik Arndt: “Rekombination — Einführung in die Künstliche Kreativität”. Bachelorarbeit, 2012.    

misc

Einführung in LaTeX