public interface IServiceUserFactory extends IConfigurable
Modifier and Type | Field and Description |
---|---|
static String |
SERVICEUSER_ATTRIBUTE |
static String |
SERVICEUSER_NAMESPACE |
static String |
SERVICEUSER_VALUE |
Modifier and Type | Method and Description |
---|---|
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 a user is a service user.
|
boolean |
isServiceUser(String uniqueIdOfUser)
Check if a user is a service user.
|
initialize
static final String SERVICEUSER_NAMESPACE
static final String SERVICEUSER_ATTRIBUTE
static final String SERVICEUSER_VALUE
IUser getServiceUser(String uniqueName, boolean bCreateTicket) throws UMException
uniqueName
.
Note: Searches for service users are only performed in the UME database. Other datasources are not searched.
uniqueName
- uniqueName of userbCreateTicket
- if set to true a ticket is created, if false no
ticket is createdUMException
- if an error occurred.IUser getServiceUser(String uniqueName) throws UMException
uniqueName
.
Note: Searches for service users are only performed in the UME database. Other datasources are not searched.
uniqueName
- uniqueName of user calling this method will
automatically create a ticketUMException
- if an error occurred.void createServiceUser(String uniqueName) throws UMException
uniqueName
- uniqueName of the user that will be createdUserAlreadyExistsException
- 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
void deleteUser(String uniqueID) throws UMException
uniqueID
- the unique ID of the userUMException
- if the user can't be deletedNoSuchUserException
- if the user does not existboolean isServiceUser(String uniqueIdOfUser) throws UMException
uniqueIdOfUser
- the unique ID of the userUMException
- if an error occurred.boolean isServiceUser(IUser user) throws UMException
user
- the IUser
objectUMException
- if an error occurred.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] CORE-TOOLS
|
[sap.com]
|
default
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/usermanagement/api
|
api
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com]
|
-
|
BC-JAS-SEC-UME
|
[sap.com] ENGINEAPI
|
[sap.com]
|
default
|
BC-JAS-SEC-UME
|
Copyright 2018 SAP AG Complete Copyright Notice