SAP NetWeaver 7.1 Composition Environment

com.sap.security.api.srvUser
Interface IServiceUserFactory

All Superinterfaces:
IConfigurable

public interface IServiceUserFactory
extends IConfigurable

This class provides access to service users Copyright (c) SAP Portals Europe GmbH 2001


Field Summary
static String SERVICEUSER_ATTRIBUTE
           
static String SERVICEUSER_NAMESPACE
           
static String SERVICEUSER_VALUE
           
 
Method Summary
 void createServiceUser(String uniqueName)
          Creates a new, initially blank service user object with the given uniqueName.
 void deleteUser(String uniqueID)
          Delete a user from the use store
 IUser getServiceUser(String uniqueName)
          Get a service user by uniqueName
 IUser getServiceUser(String uniqueName, boolean bCreateTicket)
          Get a service user by uniqueName
 boolean isServiceUser(IUser user)
          Check if user is a service user
 boolean isServiceUser(String uniqueIdOfUser)
          Check if user is a service user
 
Methods inherited from interface com.sap.security.api.IConfigurable
initialize
 

Field Detail

SERVICEUSER_NAMESPACE

static final String SERVICEUSER_NAMESPACE
See Also:
Constant Field Values

SERVICEUSER_ATTRIBUTE

static final String SERVICEUSER_ATTRIBUTE
See Also:
Constant Field Values

SERVICEUSER_VALUE

static final String SERVICEUSER_VALUE
See Also:
Constant Field Values
Method Detail

getServiceUser

IUser getServiceUser(String uniqueName,
                     boolean bCreateTicket)
                     throws UMException
Get a service user by uniqueName

Parameters:
uniqueName - uniqueName of user
bCreateTicket - if set to true a ticket is created, if false no ticket is created
Throws:
UMException

getServiceUser

IUser getServiceUser(String uniqueName)
                     throws UMException
Get a service user by uniqueName

Parameters:
uniqueName - uniqueName of user calling this method will automatically create a ticket
Throws:
UMException

createServiceUser

void createServiceUser(String uniqueName)
                       throws UMException
Creates a new, initially blank service user object with the given uniqueName. The user object is automatically committed to the user store.

Throws:
UserAlreadyExistsException - if a user with the given uniqueName already exists.
InvalidIDException - if uniqueName doesn't meet the user store's requirements (e.g. its too long)
UMException

deleteUser

void deleteUser(String uniqueID)
                throws UMException
Delete a user from the use store

Throws:
UMException - if the user can't be deleted
NoSuchUserException - if the user does not exist

isServiceUser

boolean isServiceUser(String uniqueIdOfUser)
                      throws UMException
Check if user is a service user

Throws:
UMException

isServiceUser

boolean isServiceUser(IUser user)
                      throws UMException
Check if user is a service user

Throws:
UMException

SAP NetWeaver 7.1 Composition Environment

Copyright © 2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.