2009-01-22 15:00:37 -06:00
|
|
|
# Authors:
|
|
|
|
# Jason Gerard DeRose <jderose@redhat.com>
|
|
|
|
# Rob Crittenden <rcritten@redhat.com>
|
|
|
|
#
|
|
|
|
# Copyright (C) 2008 Red Hat
|
|
|
|
# see file 'COPYING' for use and warranty information
|
|
|
|
#
|
2010-12-09 06:59:11 -06:00
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
2009-01-22 15:00:37 -06:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2010-12-09 06:59:11 -06:00
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2009-01-22 15:00:37 -06:00
|
|
|
|
|
|
|
"""
|
2010-02-23 11:53:47 -06:00
|
|
|
Loads WSGI server plugins.
|
2009-01-22 15:00:37 -06:00
|
|
|
"""
|
|
|
|
|
|
|
|
from ipalib import api
|
|
|
|
|
|
|
|
if 'in_server' in api.env and api.env.in_server is True:
|
2014-05-28 10:38:40 -05:00
|
|
|
from ipaserver.rpcserver import wsgi_dispatch, xmlserver, jsonserver_kerb, jsonserver_session, login_kerberos, login_password, change_password, sync_token, xmlserver_session
|
2012-02-15 09:26:42 -06:00
|
|
|
api.register(wsgi_dispatch)
|
2009-01-22 15:00:37 -06:00
|
|
|
api.register(xmlserver)
|
2012-02-15 09:26:42 -06:00
|
|
|
api.register(jsonserver_kerb)
|
|
|
|
api.register(jsonserver_session)
|
2012-02-25 12:39:19 -06:00
|
|
|
api.register(login_kerberos)
|
|
|
|
api.register(login_password)
|
2012-06-06 07:38:08 -05:00
|
|
|
api.register(change_password)
|
2014-05-28 10:38:40 -05:00
|
|
|
api.register(sync_token)
|
2012-06-06 21:54:16 -05:00
|
|
|
api.register(xmlserver_session)
|