[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] xml-rpc & login with a securityService
Hi Marcel,
Hi all.
I try to use a auth plugin to login into xmlBlaster. Specially the htpasswd one.
With java client there is no problem, it's working fine with the connectQos.
But, with Perl & xml-rpc, only Simple authentification is working ....
in the script demo/perl/xmlrpc/hello.pl I change the qos from
my $loginQos = "<qos></qos>";
$sessionId = $server->call('authenticate.login', "afdas", "xb12afdas", $loginQos, "");
to
my $loginQos = "<qos>\n\n<securityService type=\"htpasswd\" version=\"1.0\">\n"
." <![CDATA[\n"
." <user>afdas</user>\n"
." <passwd>xb12afdas</passwd>\n"
." ]]>\n"
."</securityService>\n"
."<ptp>true</ptp>\n"
."<session timeout='3600000' maxSessions='6'>\n"
."</session></qos>\n";
$sessionId = $server->call('authenticate.login', "afdas", "xb12afdas", $loginQos, "");
And it doesn't use plugin htpasswd, but the simple one !
Thanks for comment ;o)
Cyrille.
-----------------------------------------
- http://www.ktaland.com/
- Pour votre MAC: http://TOUSOFT.COM/
-----------------------------------------
Encryption | Duncan Campbell | DST | Blacklisted 411 | ECHELON | 2600 | PGP | Corsica |
NSA