Skip to main content
Participant
July 14, 2009
Question

how to get the client username&passwd in c++ plug-in?

  • July 14, 2009
  • 3 replies
  • 1179 views

     In <FMS plug-in developer guide> we can see "You can query your organization's database of users and passwords to determine which connection requests should be allowed. Once the plug-in accepts the connection, you can update the database with a record of the user’s access to the server."

    This topic has been closed for replies.

    3 replies

    adamzhengAuthor
    Participant
    July 15, 2009

    It seems adobe have not provided interface to get this parameters in FMS c++ plugin.

    adamzhengAuthor
    Participant
    July 15, 2009

    Not FMLE ,it's FMIS. I mean posting client infomation(like username,uid,password, etc.) to FMIS c++ plugin. When  connect to FMIS,  we make clienct ActionScript like this:

         var nc:NetConnection = new NetConnection() ;

         nc.connect("rtmp://host:port/appName", "username","password") ;

    After calling connect method, serverside action script can get the last two parameters in onConnect method and authenticate user then determine whether to accept client connection. But i want to do this in my plugin, how can i get this parameters?

    you can send mail to me for discussion about FMS plugin and others(linux, c++, ace, and so on) if you like .

    I need your help,thankyou!

    mail:adam=boyaa.com (put "@" in, instead of '=')

    adamzhengAuthor
    Participant
    July 14, 2009

    in the c++ plug-in i want to build socket connection to my game server to let the game server to control FMS

    Participating Frequently
    July 14, 2009

    Are you referring to the FMLE authentication add-on? If yes, then on linux...

    yum install libstdc++.so.5