In this article we are going to explore the integration between a website’s login and SmartFoxServer’s login system, to avoid asking the player his/her credentials twice.
The scenario we’re working with is the following:
- the player opens the game’s home page and logs in
- after some browsing he hits “Play”, the game loads and the user is presented with another login screen to access SmartFoxServer
The objective of the article is to hide this last step, integrating the website’s session with SmartFoxServer, without sacrificing the security aspects. Continue reading
With SmartFoxServer 2.10 we have added full TLS encryption to the protocol. In this recipe we’re going to discuss the implications for the Login phase in SFS2X and the differences with the previous modality of secure Login.
In this article we’re going to build a simple Login Extension using EclipseLink in place of the default DBManager API provided by SFS2X.
EclipseLink is a powerful ORM (object-relational mapping) framework, that is compliant with the Java Persistence API (JPA) standard.
NOTE: the tutorial presupposes you have an understanding of the basic concepts of object-relational mapping and you’re familiar with at least one database technology. If you don’t have experience with these tools we recommend to check this introduction.