[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem Authenticate with Perl/Xml-Rpc



Hi all,

After made some xmlBlaster's client in Java & Corba,
I try to make one in Perl & Xml-Rpc.

But I can't logging with another security plugin than the Simple one.

For the same login's call, xmlBlaster trace 2 times a call to getClientPlugin().
First time with the good plugin type, a second time with the Simple plugin type.

Trace one is :
CALL  SecurityPluginLoader.getClientPlugin] type=htpasswd version=1.0
Second trace is :
CALL  SecurityPluginLoader.getClientPlugin] type=null version=null

Is it a normal behavior, or a indice for my problem ?
Have you got a idea ?

Cyrille.

Following some code & trace :

=================================
Here is the QoS then the Call in Perl :

$loginQos = "<qos>\n<securityService type=\"htpasswd\" version=\"1.0\">\r\n"
            ."   <![CDATA[\r\n"
            ."   <passwd>azerty</passwd>\r\n"
            ."   <user>azerty</user>\r\n"
            ."   ]]>\r\n"
            ."</securityService>\n</qos>\r\n";
 my $sessionId2 = $server2->call('authenticate.login', "azerty", "azerty", $loginQos, ""
);

=================================
Xml-Rpc server in xmlBlaster answring
Fault returned from XML RPC Server, fault code 0: java.lang.Exception:
id=SecurityPluginManager.NoAcce
ss reason=It\'s not allowed to use the standard security manager!

=================================
XmlBlaster trace is :
TRACE SaxHandlerBase] Creating new SaxHandlerBase
TRACE XmlQoSBase] Creating new XmlQoSBase
CALL  SecurityPluginLoader.getClientPlugin] type=htpasswd version=1.0
TRACE SecurityPluginLoader] Trying
Class.forName('org.xmlBlaster.authentication.plugins.htpasswd.ClientPlugin')
...
TRACE SecurityPluginLoader] Found I_ClientPlugin
'org.xmlBlaster.authentication.plugins.htpasswd.ClientPlugin'
INFO  SecurityPluginLoader] Plugin
'org.xmlBlaster.authentication.plugins.htpasswd.ClientPlugin' successfully in
itialized
TRACE SaxHandlerBase] Creating new SaxHandlerBase
CALL  SecurityPluginLoader.getClientPlugin] type=null version=null
TRACE SecurityPluginLoader] Trying
Class.forName('org.xmlBlaster.authentication.plugins.simple.ClientPlugin') ..
.
TRACE SecurityPluginLoader] Found I_ClientPlugin
'org.xmlBlaster.authentication.plugins.simple.ClientPlugin'
INFO  SecurityPluginLoader] Plugin
'org.xmlBlaster.authentication.plugins.simple.ClientPlugin' successfully init
ialized
TRACE SaxHandlerBase] Creating new SaxHandlerBase
CALL  Authenticate] -------START-connect()---------
TRACE Authenticate] Created sessionId='195.246.158.42-null-1008844161020-1838275104-4'
TRACE Authenticate.connect()] Empty sessionId - generated
sessionId=195.246.158.42-null-1008844161020-1838275104
-4
CALL  SecurityPluginManager.getManager()] Loading SecurityManager type=simple version=1.0


--
 Cyrille / Ktaland

-----------------------------------------
Encryption | Duncan Campbell | DST | Blacklisted 411 | ECHELON | 2600 | PGP | Corsica |
NSA