freeipa/tests/test_xmlrpc
Rob Crittenden d2a9ccf407 Accept an incoming certificate as either DER or base64 in the service plugin.
The plugin required a base64-encoded certificate and always decoded it
before processing. This doesn't work with the UI because the json module
decodes binary values already.

Try to detect if the incoming value is base64-encoded and decode if
necessary. Finally, try to pull the cert apart to validate it. This will
tell us for sure that the data is a certificate, regardless of the format
it came in as.

ticket 348
2010-10-08 13:15:03 -04:00
..
__init__.py Initial tests for user, group and service plugin API 2008-11-03 17:31:32 -05:00
objectclasses.py Add plugins for Sudo Commands, Command Groups and Rules 2010-09-27 22:38:06 -04:00
test_aci_plugin.py Add support for ldap:///self bind rules 2010-08-19 10:49:42 -04:00
test_automount_plugin.py Take 2: Extensible return values and validation; steps toward a single output_for_cli(); enable more webUI stuff 2009-12-10 08:29:15 -07:00
test_cert.py Require that hosts be resolvable in DNS. Use --force to ignore warnings. 2010-08-06 15:31:57 -04:00
test_group_plugin.py Groups are now created as POSIX by default. 2010-10-01 14:16:36 -04:00
test_hbac_plugin.py If an HBAC category is 'all' don't allow individual objects to be added. 2010-10-08 10:11:41 -04:00
test_hbacsvcgroup_plugin.py Add ipaUniqueID to HBAC services and service groups 2010-05-27 10:51:02 -04:00
test_host_plugin.py Enable a host to retrieve a keytab for all its services. 2010-08-16 17:13:56 -04:00
test_hostgroup_plugin.py Require that hosts be resolvable in DNS. Use --force to ignore warnings. 2010-08-06 15:31:57 -04:00
test_netgroup_plugin.py Require that hosts be resolvable in DNS. Use --force to ignore warnings. 2010-08-06 15:31:57 -04:00
test_passwd_plugin.py Take 2: Extensible return values and validation; steps toward a single output_for_cli(); enable more webUI stuff 2009-12-10 08:29:15 -07:00
test_pwpolicy.py Replace old pwpolicy plugin with new one using baseldap, fix tests. 2010-05-17 13:48:19 -04:00
test_rolegroup_plugin.py Fix a couple of test cases broken by the POSIX group change. 2010-10-04 09:53:42 -04:00
test_service_plugin.py Accept an incoming certificate as either DER or base64 in the service plugin. 2010-10-08 13:15:03 -04:00
test_sudocmd_plugin.py Add plugins for Sudo Commands, Command Groups and Rules 2010-09-27 22:38:06 -04:00
test_sudocmdgroup_plugin.py Add plugins for Sudo Commands, Command Groups and Rules 2010-09-27 22:38:06 -04:00
test_sudorule_plugin.py Added modifications to the sudorule plugin to reflect the schema update. 2010-10-05 21:37:59 -04:00
test_taskgroup_plugin.py Fix a couple of test cases broken by the POSIX group change. 2010-10-04 09:53:42 -04:00
test_user_plugin.py Rename user-lock and user-unlock to user-enable user-disable. 2010-10-06 09:20:44 -04:00
xmlrpc_test.py Add support for client failover to the ipa command-line. 2010-08-16 10:35:27 -04:00