com.ibm.itim.dataservices.model.system
Class SystemUserFactory

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.system.SystemUserFactory

public class SystemUserFactory
extends java.lang.Object

Factory for creating system users in the data store.

See Also:
SystemUserEntity

Constructor Summary
SystemUserFactory()
          Default constructor.
 
Method Summary
 SystemUserEntity create(DistinguishedName tenantDN, Person owner, Service service, SystemUser sysUser)
          Creates a system user in the data store with the given value object to define the SystemUser's attributes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemUserFactory

public SystemUserFactory()
Default constructor.

Method Detail

create

public SystemUserEntity create(DistinguishedName tenantDN,
                               Person owner,
                               Service service,
                               SystemUser sysUser)
                        throws ModelCommunicationException,
                               ModelCreationException
Creates a system user in the data store with the given value object to define the SystemUser's attributes.

Parameters:
tenantDN - Distinguished name of the system root (tenant) under which the system user is to be created.
owner - PersonEntity representing the owner of the system user (account).
service - ServiceEntity representing the service instance the user is accessing. This is most relevant if the platform is deployed in an ASP deployment where the platform may be hosted and made available to other organizations.
sysUser - Value object to use for creation.
Throws:
ModelCommunicationException - Thrown if unable to communicate with the data store.
ModelCreationException - Thrown if unable to create the entity in the data store. Most likely due to some sort of schema violation caused by improper attributes set in the value object.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.