Official Community Forums
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  

Share | 
 

 Login process

View previous topic View next topic Go down 
AuthorMessage
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Login process   Sun 10 Mar - 14:01

well, been trying to understand the login process for multiverse.
seems that i need to setup the master server so the existing login process will work?

also, looks like the client fetches the html web based login pages as in the Website/ folder from source, but just dont follow it yet.

but the existing website for login process seems kinda confusing, cant find the database code where it connects to, then cant follow if there was a database to connect to to verify the users login info to authenticate, what happens next does the web based login pages will redirect the client to the master server so masterserver will send me to my world??

right now i am puzzled on what to do to make the player use the login process to enter world as if it was in production and not developement.


maybe some one can explain in easy words how exactly this process works. :-)

thanks
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Login process   Wed 13 Mar - 16:06

any1 got this far yet?

Crying or Very sad
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Login process   Thu 14 Mar - 0:48

It is confusing because the login page is really just a display the actual logging in takes place in the C sharp code. The Client grabs the login and password from the login page window and send it to the server.
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Login process   Thu 14 Mar - 2:49

ok,
so you saying that the login screen which is an html url displaying on client window, right?

now, this html loging screen will not communicate directly to sql database to authenticate users, right?, but the client c# will take those credentials from html document and send it to the master server to authenticate user?

but is client c# sends those credentials to database to authenticate wouldnt it be a security issue having sql info on client side?
I am pretty sure this is not the case, since dont see any sql info on the c# client. still cant comprehend the process. Crying or Very sad

so master server must be running in order to all this to work?


is there any info on this processs in the wiki? cant seen to find some.

Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Login process   Thu 14 Mar - 3:13

no it connects to the master server and send the players info to the master server. The master server is the one that access the sql database to authenticate the users. Its pretty complicated I remember beating my head against it trying to figure it out.
Basically player clicks on the mv icon and loads the main function
Which looks up the master server address and login page address (Which is either hard coded or overriden by command line properties or a config file)
Client then displays login page - Multiverse.Base.Client.ShowLoginDialog
Player types in username and password
Javascript handles the username and password and passes them back up to the client using window.external commands and then runs LoginMaster - Multiverse.Network.NetworkHelper.LoginMaster
Which connects to the master server and does the login handshake
The master server code is in the java files src/multiverse/server/engine/MasterServer.java

Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Login process   Thu 14 Mar - 7:24

thanks bro,

will certainly dive deeper into this, the info you gave me should get me started.

thanks again

Back to top Go down
Sponsored content




PostSubject: Re: Login process   

Back to top Go down
 
Login process
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» login 3 times only?
» Nintendo's E3 press site login
» http://proxy.lunet.edu:2048/login
» http://webserver.macu.edu:2048/login
» http://swansong.asumh.edu:2048/login

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Getting Started-
Jump to: