So, I have an Android app which means I'm not using a browser (I'll explain why this is important in few lines) and I wish to use Security.Authenticator with Play! 2.3.8
Basically, Play uses the current session (which is directly related to the browser), check what's in there by using String getUserame(Context ctx)
and send back the username if this one exist. If not, then it returns a HTTP redirect
using Result onUnauthorized(Context ctx)
Here is my problem: I use Play as a server for remote apps. How can I use Play's authentication provided methods with my app? It's tricky because of course, I can't store something in session due to the fact I'm not using any browser.
Do you guys have some workaround or solutions for this?