It all depends on how you plan to communicate with the game server. If you're using a restful interface, you would just declare the credentials in your http client call. If you're using a custom protocol, then how to send the credentials is up to you. If you'd like to share more about how you're communicating with the game server, we can give further suggestions.
-Jared On Dec 14, 2013 7:04 AM, "mneilly" <[email protected]> wrote: > > Hi, I want to use Shiro for authenticating a java game client against a > java > game server running the Shiro security manager. I've looked over the > tutorials/docs (and probably need to do so several more times) and seem to > be missing how to communicate the credentials from the client to the remote > server for authentication. > > From the authentication reference > (http://shiro.apache.org/authentication.html) I see the basic steps: > > 1) Collect the Subject's submitted principals and credentials > 2) Submit the principals and credentials for authentication. > 3) If the submission is successful, allow access, otherwise retry > authentication or block access. > > I can see how to do (1) and (3). I can see how to do (2) if everything is > handled in a single app but I'm missing how this happens over the > network... > I can see the same issue arising for authorization and session management > so > I must not be cluing into something obvious. > > If somebody could point me in the right direction it would be much > appreciated. > > thanks > -M > > > > > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/java-client-authenticating-with-remote-security-manager-tp7579464.html > Sent from the Shiro User mailing list archive at Nabble.com. >
