ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilAuthSOAP.php
Go to the documentation of this file.
1<?php
2/*
3 +-----------------------------------------------------------------------------+
4 | ILIAS open source |
5 +-----------------------------------------------------------------------------+
6 | Copyright (c) 1998-2006 ILIAS open source, University of Cologne |
7 | |
8 | This program is free software; you can redistribute it and/or |
9 | modify it under the terms of the GNU General Public License |
10 | as published by the Free Software Foundation; either version 2 |
11 | of the License, or (at your option) any later version. |
12 | |
13 | This program is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | GNU General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU General Public License |
19 | along with this program; if not, write to the Free Software |
20 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21 +-----------------------------------------------------------------------------+
22*/
23
24
25include_once 'Auth.php';
26
37class ilAuthSOAP extends Auth
38{
39 public function __construct($container, $a_options = array())
40 {
41 parent::__construct($container, $a_options, '', false);
42 $this->setSessionName("_authhttp" . md5(CLIENT_ID));
43
44 $this->initAuth();
45
46 /*
47 parent::__construct($container);
48
49 if(isset($a_further_options['username']))
50 {
51 $_POST['username'] = $a_further_options['username'];
52 }
53 if(isset($a_further_options['password']))
54 {
55 $_POST['password'] = $a_further_options['password'];
56 }
57
58 $this->appendOption('sessionName',"_authhttp".md5(CLIENT_ID));
59 $this->appendOption('sessionSharing',false);
60 $this->initAuth();
61 $this->initCallbacks();
62 */
63 }
64
70 public function supportsRedirects()
71 {
72 return false;
73 }
74}
An exception for terminatinating execution or to throw for unit testing.
@classDescription Frontend class for SOAP based authentication
supportsRedirects()
Returns true, if the current auth mode allows redirection to e.g to loginScreen, public section....
__construct($container, $a_options=array())
$container
Definition: wac.php:13