~ubuntu-branches/ubuntu/quantal/opendrim-lmp-simpleidentitymanagement/quantal

« back to all changes in this revision

Viewing changes to registration/Simple_Identity_Management.sh

  • Committer: Bazaar Package Importer
  • Author(s): Guillaume BOTTEX
  • Date: 2010-06-21 15:54:00 UTC
  • Revision ID: james.westby@ubuntu.com-20100621155400-myesv5hd2f3s8x9y
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
#################################################################################
 
4
# Linux Management Providers (LMP), Simple Identity Management provider package
 
5
# Copyright (C) 2007 Frederic Desmons, ETRI <desmons@etri.re.kr, desmons_frederic@yahoo.fr>
 
6
 
7
# This program is being developed under the "OpenDRIM" project.
 
8
# The "OpenDRIM" project web page: http://opendrim.sourceforge.net
 
9
# The "OpenDRIM" project mailing list: opendrim@googlegroups.com
 
10
 
11
# This program is free software; you can redistribute it and/or
 
12
# modify it under the terms of the GNU General Public License
 
13
# as published by the Free Software Foundation; version 2
 
14
# of the License.
 
15
 
16
# This program is distributed in the hope that it will be useful,
 
17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
# GNU General Public License for more details.
 
20
 
21
# You should have received a copy of the GNU General Public License
 
22
# along with this program; if not, write to the Free Software
 
23
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
24
#################################################################################
 
25
 
 
26
#################################################################################
 
27
# To contributors, please leave your contact information in this section
 
28
# AND comment your changes in the source code.
 
29
 
30
# Modified by 2009 Khahramon NURIDDINOV, TUIT <qahramon0786@gmail.com>
 
31
# Modified by 2009 Guillaume BOTTEX, ETRI <guillaumebottex@etri.re.kr>
 
32
#################################################################################
 
33
 
 
34
if test "$3" = pegasus
 
35
then
 
36
        if !( ps -C cimserver > /dev/null 2>&1 )
 
37
        then
 
38
                echo "ERROR: Pegasus CIM server is not running"
 
39
                exit 1
 
40
        fi
 
41
fi
 
42
 
 
43
if test "$3" = openwbem
 
44
then
 
45
        if !( ps -C owcimomd > /dev/null 2>&1 )
 
46
        then
 
47
                echo "ERROR: OpenWBEM CIM server is not running"
 
48
                exit 1
 
49
        fi
 
50
fi
 
51
 
 
52
if test "$3" = sfcb
 
53
then
 
54
        /etc/init.d/sfcb stop
 
55
fi
 
56
 
 
57
$6/registration/OpenDRIM_Identity.sh $1 $2 $3 $4 $5 $6
 
58
$6/registration/OpenDRIM_AccountOnSystem.sh $1 $2 $3 $4 $5 $6
 
59
$6/registration/OpenDRIM_AccountCapabilities.sh $1 $2 $3 $4 $5 $6
 
60
$6/registration/OpenDRIM_AccountIdentity.sh $1 $2 $3 $4 $5 $6
 
61
$6/registration/OpenDRIM_AccountAssignedIdentity.sh $1 $2 $3 $4 $5 $6
 
62
$6/registration/OpenDRIM_GroupAssignedIdentity.sh $1 $2 $3 $4 $5 $6
 
63
$6/registration/OpenDRIM_AccountManagementServiceAffectsIdentity.sh $1 $2 $3 $4 $5 $6
 
64
$6/registration/OpenDRIM_AccountManagementService.sh $1 $2 $3 $4 $5 $6
 
65
$6/registration/OpenDRIM_HostedAccountManagementService.sh $1 $2 $3 $4 $5 $6
 
66
$6/registration/OpenDRIM_RegisteredSimpleIdentityManagementProfile.sh $1 $2 $3 $4 $5 $6
 
67
$6/registration/OpenDRIM_AccountManagementServiceConformsToProfile.sh $1 $2 $3 $4 $5 $6
 
68
$6/registration/OpenDRIM_Group.sh $1 $2 $3 $4 $5 $6
 
69
$6/registration/OpenDRIM_AccountManagementServiceCapabilities.sh $1 $2 $3 $4 $5 $6
 
70
$6/registration/OpenDRIM_AccountAssociatedCapabilities.sh $1 $2 $3 $4 $5 $6
 
71
$6/registration/OpenDRIM_GroupIdentity.sh $1 $2 $3 $4 $5 $6
 
72
$6/registration/OpenDRIM_IdentityInGroup.sh $1 $2 $3 $4 $5 $6
 
73
$6/registration/OpenDRIM_AccountManagementCapabilities.sh $1 $2 $3 $4 $5 $6
 
74
$6/registration/OpenDRIM_Account.sh $1 $2 $3 $4 $5 $6
 
75
$6/registration/OpenDRIM_GroupOnSystem.sh $1 $2 $3 $4 $5 $6
 
76
 
 
77
if test "$3" = sfcb
 
78
then
 
79
        /etc/init.d/sfcb start
 
80
fi
 
81