* * 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 2 of the License, or * (at your option) any later version. * * 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 * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ require_once 'DB.php'; require_once 'session.php'; if(!extension_loaded('lasso')) { $ret = @dl('lasso.' . PHP_SHLIB_SUFFIX); if ($ret == FALSE) { ?>

The Lasso Extension is not available
Please check your PHP extensions
You can get more informations about Lasso at
http://lasso.entrouvert.org/

Service Provider Configuration file is not available
Please run the setup script :
Lasso Service Provider Setup
You can get more informations about Lasso at
http://lasso.entrouvert.org/

getMessage()); // session handler session_set_save_handler("open_session", "close_session", "read_session", "write_session", "destroy_session", "gc_session"); session_start(); lasso_init(); $server_dump = file_get_contents($config['server_dump_filename']); $server = LassoServer::newFromDump($server_dump); ?> Lasso Service Provider Example

Service Provider Administration
Setup
Users Management
View Online Users
View log

Serice Provider Fonctionnality setIdentityFromDump($_SESSION['identity_dump']); if (!empty($_SESSION['session_dump'])) $login->setSessionFromDump($_SESSION['session_dump']); $identity = $login->identity; $providerIDs = $identity->providerIds; if ($providerIDs->length()) { ?> length() ; $i++) { $providerID = $providerIDs->getItem($i); ?>
Single SignOn using an Identity Provider
 
Provider Profile
post | artifact
Cancel a Federation with :
Identity ProviderProfile
Redirect | SOAP
 
Single Logout using SOAP

User is not logged in!"; } else { ?> query($query); if (DB::isError($res)) die($res->getMessage()); list($user_id, $identity_dump, $first_name, $last_name, $last_login, $created) = $res->fetchRow(); ?>
Status
User is logged in!
Name Identifier:
UserID:
Last Name:
First Name:
PHP Session ID:
Account Created:
Last Login:


Copyright © 2004 Entr'ouvert