I have a secret key that is used by both a server and my application. This key is used for being sure the requests come from the application. Server has not registered users but with this application users may send requests.
I cannot find another solution... I thought about asymmetric keys, Diffie-Hellman... but nothing solves my problem apart from the symmetric key... But the problem is: how to store that key in my java code and protect it?