SAP UME connector
This page describes how to set up connection to SAP UME connector
The user management engine (UME) provides a centralized user management for all Java applications and can be configured to work with user management data from multiple data sources. It is seamlessly integrated in the SAP NetWeaver Application Server (AS) Java as its default user store and can be administrated using the administration tools of the AS Java.
The UME adds business value by enabling you to leverage your existing system infrastructure by accessing user-related data on an existing LDAP directory, an AS ABAP system, a database of the AS Java, or any combination of these. In addition, it reduces administrative overhead by allowing you to perform centralized user administration.
The SAP UME connector uses the SAP UME SPML interface to communicate with the SAP UME system.
Search / reconcile users
✅
Search / reconcile groups
✅
Test connection
✅
Create / update users
❌ reports success and does nothing
Delete users
❌ reports success and does nothing
Suspend / resume users
❌ reports success and does nothing
Reset password
❌ reports success and does nothing
Group create / delete
❌ reports success and does nothing
Role management
❌ no role operation exists; assignedroles and assignedgroups are read during search only
Incremental reconciliation applies to users only; groups and roles need a full run.
Use cases
Managing SAP NetWeaver AS Java users — accounts, attributes, and passwords — from OpenIAM.
Driving UME role and group assignments from OpenIAM entitlements.
Reconciling users, groups, and roles from UME into OpenIAM.
In a common case, you can add any attribute in the Policy Map linked to a Groovy script and the attribute value will be provisioned to the target system.
Versions and compatibility
The end application is the SAP User Management Engine, the user store of an SAP Java stack (NetWeaver AS Java) system. It is reached over SPML — Service Provisioning Markup Language, carried in SOAP — not over JCo/RFC and not over a REST API.
Platform
SAP NetWeaver AS Java, User Management Engine
Interface
SPML over SOAP
Endpoint
The SPML web service, typically http://<host>:5<NN>00/spml/provisioning
Filters
DSML filters, which is why the search syntax below is substrings(...) and equalityMatch(...) rather than SQL or LDAP
Prerequisites
On the SAP UME server side:
Add two roles in SAP UME.
SPML_FULL_ACCESS_ROLE (SPML full access Role) with the following actions:
SPML_Read_Action;
SPML_Write_Action.
SPML_READ_ACCESS_ROLE (SPML read only access Role) with the following actions: - SPML_Read_Action
Add two users in SAP UME.
spmluser (SPML full access User):
Role: SPML_FULL_ACCESS_ROLE.
spmluser_readonly (SPML read only access User)
Role: SPML_READ_ACCESS_ROLE.
You will also need the SPML Web Service EndPoint URL of your SAP UME system (for example: http://10.1.11.58:50000/spml/provisioning).
Installing the connector
The connector runs as a standalone service (JAR), sap-ume-connector-rabbitmq.jar. Your OpenIAM account team supplies it.
In an RPM environment, run it with the connector service unit (openiam-connector@sap-ume-connector-rabbitmq) — see Connectors via RPM.
Starting, stopping, and restarting
RPM (systemd)
systemctl start|stop|restart openiam-connector@sap-ume-connector-rabbitmq
Standalone JAR
Run the JAR with java -jar sap-ume-connector-rabbitmq.jar; stop the process to stop the connector.
Command-line parameters and properties
The connector is a Spring Boot application. Its defaults ship inside the jar, and you override them in either of two places:
An external property file, read at
${confpath}/conf/properties/sap-ume-connector-rabbitmq.properties. The file is optional, andconfpathis itself a system property, set with-Dconfpath=/data/openiam/.Directly on the command line, as
-Darguments, which win over the file.
org.openiam.connector.queue
SAP_Connector_ 411_Request
⚠️ The shipped default contains a literal space (SAP_Connector_ 411_Request). The connector record in OpenIAM must match the queue name character-for-character, including the space — or change both sides to a clean name. A silent mismatch here is the most common reason this connector receives no messages.
org.openiam.connector.queueResponseName
SAP_Connector_ 411_Response
Same caveat as above.
The connection details themselves are not set here — they are managed system parameters, covered under Configuring the managed system.
Verifying the connector is running
In the Webconsole, open the managed system — the Running connector status indicator must be green.
Click Test Connection — it must return success.
In the RabbitMQ management console, confirm the request queue (default SAP_Connector_ 411_Request) exists and has a consumer.
Troubleshooting
Connector never receives messages
Queue-name mismatch — the default name contains a literal space
The connector record's queue in OpenIAM must match SAP_Connector_ 411_Request character-for-character (including the space), or rename both sides.
SPML write operations fail
Service account lacks write access
The managed-system login must be the user holding SPML_FULL_ACCESS_ROLE (both SPML_Read_Action and SPML_Write_Action).
Reconciliation filter errors
More than one logical operand in the filter
A filter may combine clauses with only one operand type (AND or OR), not both.
Incremental reconciliation returns nothing for groups/roles
Not implemented
Incremental mode works for users only; run full reconciliation for groups and roles.
See also: general connector troubleshooting and the connector error-code reference.
Registering the connector in OpenIAM
Register the connector under Provisioning → Connectors and attach it to the managed system — see Registering the connector.
Configuring the managed system
Configure the connection to SAP UME through the Managed System.
To configure the properties of the Managed System, log in to webconsole and select Provisioning → Managed System, then Create Managed System in case you are creating a new system or find an applicable out-of-the-box managed system and click Edit icon. For more information on Managed system creating and updating, refer to Managed system configuration page. Here, provide login and password for the SAP UME user created above.
Attribute mapping and policy map
Determine what attributes you need to pass to the SAP connector. Combined with the use of the Groovy scripting language, you can dynamically derive any attribute that is needed in SAP from the data maintained within OpenIAM. The screenshot below provides a sample mapping between rules in the Identity Manager, called attribute policies, and the SAP attributes. More details on the attribute policies and mappings can be found at the Policy map document.
A sample mapping. Every row is an entry in the policy map: an OpenIAM attribute on the left, the SAP UME attribute it is written to on the right, and the rule that produces the value.
USER
logonname
Policy
The user's principal
USER
firstname
Policy
firstName
USER
lastname
Policy
lastName
USER
email
Policy
mail
USER
password
Policy
userPassword
USER
displayname, title, department, jobtitle
Policy
Default value, or derived in Groovy
USER
city, state, country, zip, streetaddress
Policy
Default value, or derived in Groovy
USER
telephone, fax, mobile
Policy
Default value, or derived in Groovy
USER
timezone, locale, salutation
Policy
Default value
USER
validfrom, validto
Policy
The account's validity dates
USER
islocked
Policy
The account's lock state
USER
assignedgroups, assignedroles
Policy
memberOf
GROUP
uniquename, description
Policy
The group's name and description
Attributes allowed
Logon ID
logonname
Last Name
lastname
First Name
firstname
E-Mail Address
Form of Address
salutation
Language
locale
Security Policy
securitypolicy
('Default' or 'technical')
Unique ID
id
Display Name
displayname
Title
title
Password
password
Start Date of Account Validity
validfrom*
End Date of Account Validity
validto*
User Account Locked
islocked
Telephone
telephone
Fax
fax
Mobile
mobile
Street
streetaddress
City
city
State/Province
state
Zip/Postal Code
zip
Country
country
Time Zone
timezone
Position
jobtitle
Department
department
Assigned Roles
assignedroles
Assigned Groups
assignedgroups
Reconciliation and synchronization
More details on what is and how to configure reconciliation in OpenIAM can be found in Reconciliation section of documents.
A managed system usually carries three reconciliation configurations — one for users and one for each kind of group object:
USER
substrings('logonname',"*")
GROUP
GROUP_TYPE=GROUP | FILTER=substrings('uniquename',"*")
GROUP
GROUP_TYPE=ROLE | FILTER=substrings('uniquename',"*")
The filter syntax those use is described below.
Users
Filter Operations:
equalityMatch,substrings.Filter Logical operands:
AND,OR.Complex filters: Filter can be formed with one or more clauses, but with only one logical operand (
ANDorOR).Correct filters samples:
substrings(
logonname,SAPUME).equalityMatch(
logonname,SAPUMEUSU01)equalityMatch(
logonname,SAPUMEUSU01) or equalityMatch(logonname,SAPUMEUSU02).substrings(
logonname,a) or substrings(logonname,z) or equalityMatch(logonname,sapusu01).
Incorrect filter samples:
equalityMatch(
logonname,SAPUMEUSU01) or equalityMatch(logonname,SAPUMEUSU02) and substrings(logonname,z).
Reconciliation can be full or Incremental. You can use UpdateSince MangedSysParam to indicate incremental mode and the date to filter last updates.
We also have a SAPSearchQuery.groovy developed, which checks if UpdateSince is informed and add "#TIMESTAMP#=yyyyMMddHHmmss" to the search filter. Here, the connector checks this string to make a full/incremental search. Sample Incremental Filter received by the connector if you indicate UpdateSince looks as follows.
Connector detects #TIMESTAMP# and generates SPML filters as follows.
Groups and roles
Pattern for Groups and Roles filter looks as follows.
Sample filters are
GROUP_TYPE=GROUP | FILTER= equalityMatch(
uniquename,Authenticated Users).GROUP_TYPE=ROLE | FILTER= substrings(
uniquename,*).
Incremental reconciliation is not implemented for groups and roles.
Last updated
Was this helpful?