Skip to main content
Participant
Jul 14, 2009 11:09 AM UTC
Question

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

     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 is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    adamzhengAuthor
    Participant
    Jul 15, 2009 5:42 AM UTC

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

    Translate
    adamzhengAuthor
    Participant
    Jul 15, 2009 4:54 AM UTC

    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 '=')

    Translate
    adamzhengAuthor
    Participant
    Jul 14, 2009 11:16 AM UTC

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

    Translate
    Participating Frequently
    Jul 14, 2009 9:17 PM UTC

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

    yum install libstdc++.so.5

    Translate