summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/xmlserver.py
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2014-05-28 11:38:40 -0400
committerPetr Vobornik <pvoborni@redhat.com>2014-06-26 13:42:13 +0200
commit6af6f53ffab25a16a9d0925710ee18d958ce9a10 (patch)
tree84fc3d496642e863be0b6e5e242dd5f1b80a4f8f /ipaserver/plugins/xmlserver.py
parent039fa62363a962c77c2842ad83f83b185c7574e1 (diff)
downloadfreeipa-sync-token.tar.gz
freeipa-sync-token.tar.xz
freeipa-sync-token.zip
Add /session/token_sync POST supportsync-token
This HTTP call takes the following parameters: * user * password * first_code * second_code * token (optional) Using this information, the server will perform token synchronization. If the token is not specified, all tokens will be searched for synchronization. Otherwise, only the token specified will be searched.
Diffstat (limited to 'ipaserver/plugins/xmlserver.py')
-rw-r--r--ipaserver/plugins/xmlserver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/plugins/xmlserver.py b/ipaserver/plugins/xmlserver.py
index 8d96262cf..7460ead69 100644
--- a/ipaserver/plugins/xmlserver.py
+++ b/ipaserver/plugins/xmlserver.py
@@ -25,7 +25,7 @@ Loads WSGI server plugins.
from ipalib import api
if 'in_server' in api.env and api.env.in_server is True:
- from ipaserver.rpcserver import wsgi_dispatch, xmlserver, jsonserver_kerb, jsonserver_session, login_kerberos, login_password, change_password, xmlserver_session
+ from ipaserver.rpcserver import wsgi_dispatch, xmlserver, jsonserver_kerb, jsonserver_session, login_kerberos, login_password, change_password, sync_token, xmlserver_session
api.register(wsgi_dispatch)
api.register(xmlserver)
api.register(jsonserver_kerb)
@@ -33,4 +33,5 @@ if 'in_server' in api.env and api.env.in_server is True:
api.register(login_kerberos)
api.register(login_password)
api.register(change_password)
+ api.register(sync_token)
api.register(xmlserver_session)