summaryrefslogtreecommitdiffstats
path: root/mof/LMI_Account.mof
diff options
context:
space:
mode:
Diffstat (limited to 'mof/LMI_Account.mof')
-rw-r--r--mof/LMI_Account.mof233
1 files changed, 233 insertions, 0 deletions
diff --git a/mof/LMI_Account.mof b/mof/LMI_Account.mof
new file mode 100644
index 0000000..ba68aff
--- /dev/null
+++ b/mof/LMI_Account.mof
@@ -0,0 +1,233 @@
+//
+// LMI_Account.mof
+//
+// Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+//
+// 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, see <http://www.gnu.org/licenses/>.
+//
+// Red Hat Author(s): Roman Rakus <rrakus@redhat.com>
+//
+
+[ Description("Class representing Linux Account"),
+ Provider("cmpi:Account")
+]
+class LMI_Account : CIM_Account
+{
+ [Description("User's home directory")]
+ string HomeDirectory;
+
+ [Description("User's login shell")]
+ string LoginShell;
+
+ [Description("The date when was password last changed")]
+ datetime PasswordLastChange;
+
+ [Description("The minimal date when can be password changed")]
+ datetime PasswordMinLifetime;
+
+ [Description("The maximal date when can be password changed")]
+ datetime PasswordMaxLifetime;
+};
+
+[ Description("LMI_AccountManagementService creates, manages, and if necessary destroys Linux Accounts on behalf of other SecuritySerices."),
+ Provider("cmpi:Account")
+]
+class LMI_AccountManagementService : CIM_AccountManagementService
+{
+};
+
+[ Provider("cmpi:Account") ]
+class LMI_AccountManagementCapabilities : CIM_AccountManagementCapabilities
+{
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_AccountOnSystem : CIM_AccountOnSystem
+{
+ [ Override ("GroupComponent"),
+ Min ( 1 ),
+ Max ( 1 ),
+ Description ( "The hosting System." )]
+ CIM_ComputerSystem REF GroupComponent;
+
+ [ Override ("PartComponent"),
+ Description ( "The managed Account on the System" )]
+ LMI_Account REF PartComponent;
+};
+
+[ Provider("cmpi:Account") ]
+class LMI_AccountSettingData : CIM_AccountSettingData
+{
+};
+
+[ Provider("cmpi:Account") ]
+class LMI_Identity : CIM_Identity
+{
+};
+
+[ Provider("cmpi:Account") ]
+class LMI_Group : CIM_Group
+{
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_AssignedAccountIdentity : CIM_AssignedIdentity
+{
+ [ Override ("IdentityInfo"),
+ Description ( "The managed Identity" ) ]
+ LMI_Identity REF IdentityInfo;
+
+ [ Override ("ManagedElement"),
+ Description ( "The managed Account on the System" ) ]
+ LMI_Account REF ManagedElement;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_AssignedGroupIdentity : CIM_AssignedIdentity
+{
+ [ Override ("IdentityInfo"),
+ Description ( "The managed Identity" ) ]
+ LMI_Identity REF IdentityInfo;
+
+ [ Override ("ManagedElement"),
+ Description ( "The managed Group on the System" ) ]
+ LMI_Group REF ManagedElement;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_AccountManagementServiceCapabilities : CIM_ElementCapabilities
+{
+ [ Override ("ManagedElement"),
+ Description ( "The Central Instance of Account Management" ) ]
+ LMI_AccountManagementService REF ManagedElement;
+
+ [ Override ("Capabilities"),
+ Description ( "The supported Capabilities for managing Linux Accounts" ) ]
+ LMI_AccountManagementCapabilities REF Capabilities;
+};
+
+[ Provider("cmpi:Account") ]
+class LMI_EnabledAccountCapabilities : CIM_EnabledLogicalElementCapabilities
+{
+};
+
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_AccountCapabilities : CIM_ElementCapabilities
+{
+ [ Override ("ManagedElement"),
+ Description ( "The managed Account" ) ]
+ LMI_Account REF ManagedElement;
+
+ [ Override ("Capabilities"),
+ Description ( "The supported Capabilities for changing the state of the Linux Account" ) ]
+ LMI_EnabledAccountCapabilities REF Capabilities;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_AccountManagementServiceSettingData : CIM_ElementSettingData
+{
+ [ Override ("ManagedElement"),
+ Description ( "The Central Instance of Account management" ) ]
+ LMI_AccountManagementService REF ManagedElement;
+
+ [ Override ("SettingData"),
+ Description ( "The default enforced setting for new Accounts" ) ]
+ LMI_AccountSettingData REF SettingData;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_HostedService : CIM_HostedService
+{
+ [ Override ("Antecedent"),
+ Description ( "The hosting System" ) ]
+ CIM_ComputerSystem REF Antecedent;
+
+ [ Override ("Dependent"),
+ Description ( "The Central Instance of Account management" ) ]
+ LMI_AccountManagementService REF Dependent;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_MemberOfGroup : CIM_MemberOfCollection
+{
+ [ Override ("Collection"),
+ Description ( "The managed Group on the System" ) ]
+ LMI_Group REF Collection;
+
+ [ Override ("Member"),
+ Description ( "The managed Identity" ) ]
+ LMI_Identity REF Member;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_OwningGroup : CIM_OwningCollectionElement
+{
+ [ Override ("OwningElement"),
+ Description ( "The hosting System" ) ]
+ CIM_ComputerSystem REF OwningElement;
+
+ [ Override ("OwnedElement"),
+ Description ( "The managed Group on the System" ) ]
+ LMI_Group REF OwnedElement;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_ServiceAffectsIdentity : CIM_ServiceAffectsElement
+{
+ [ Override ("AffectingElement"),
+ Description ( "The Central Instance of Account management" ) ]
+ LMI_AccountManagementService REF AffectingElement;
+
+ [ Override ("AffectedElement"),
+ Description ( "The managed Identity" ) ]
+ LMI_Identity REF AffectedElement;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_SettingsDefineManagementCapabilities : CIM_SettingsDefineCapabilities
+{
+ [ Override ("GroupComponent"),
+ Description ( "The Account Management Capabilities" ) ]
+ LMI_AccountManagementCapabilities REF GroupComponent;
+
+ [ Override ("PartComponent"),
+ Description ( "The default enforced setting for new Accounts" ) ]
+ LMI_AccountSettingData REF PartComponent;
+};
+
+[ Association,
+ Provider("cmpi:Account") ]
+class LMI_SettingsDefineAccountCapabilities : CIM_SettingsDefineCapabilities
+{
+ [ Override ("GroupComponent"),
+ Description ( "The Account Capabilities" ) ]
+ LMI_EnabledAccountCapabilities REF GroupComponent;
+
+ [ Override ("PartComponent"),
+ Description ( "The default enforced setting for new Accounts" ) ]
+ LMI_AccountSettingData REF PartComponent;
+};
+