I'm trying to write an OpenFire plugin to support Apple Push Notifications. My plan is that I want the client (iOS app) to send its token to my plugin servlet once the user logs in.
So far all I have seen people doing is add servlets for the Admin console, but my servlet is not for the admin console, it's supposed to be for my actual chat client. I just want the client to send me the token so that I can store it mapped to the logged in user, so keep in mind that I need to be able to get the currently logged in username. Does anyone know how to go about that? I'm new to OpenFire so please be patient. Thanks.