SAP NetWeaver 7.1 Composition Environment

com.sap.security.api.umap.system
Interface ISystemLandscapeObject


public interface ISystemLandscapeObject

Wrapper object for a backend system provided by an ISystemLandscapeWrapper.

An ISystemLandscapeObject may represent an arbitrary backend system, e.g. different SAP systems, HTTP systems or any other type that may be relevant for user mapping. In general, all systems are treated equally in that UME simply manages credentials (user mapping data) for them, but does not try to open connections to them. That's why UME does not need to know how to contact backends systems.

There is one exception from the above rule: UME knows the concept of the so-called "SAP reference system", which may only be an SAP system. If a user has mapped himself to a user in the SAP reference system, that backend user ID is used in SAP authentication tickets (e.g. logon tickets) issued by the local server. As the mapped password is never used during ticket issuing, it must be verified while saving user mapping data (to avoid that a user could get a ticket issued for another backend user simply by mapping himself to a backend user that is not her own).

For the verification of user mapping credentials against the backend system, UME opens a JCO connection using the entered credentials. Obviously, it needs valid JCO connection properties for that, so, for the SAP reference system, an implementation must be able to provide all JCO connection properties as system attributes as required by the JCO release currently used in the local server. For details, see method getAttribute(String).


Method Summary
 String getAlias()
          Retrieve the alias of this system object.
 Object getAttribute(String attributeName)
          Retrieve the value of a system attribute.
 Enumeration getAttributeNames()
          Retrieve the names of all available system attributes.
 Class getLandscapeClass()
          Return the implementation of the ISystemLandscapeWrapper that is responsible for this system.
 String getLogonMethod()
          Retrieve the logon method configured for this system.
 String getPrintableName()
          Retrieve a printable name for this system (e.g.
 String getStorageKeyPrefix()
          Return the system landscape specific prefix for user mapping data being saved in UME database tables.
 String getSystemDescription()
          Retrieve a plain text description for this system.
 String getUniqueKey()
          Retrieve the unique key (GUID) of this system.
 

Method Detail

getUniqueKey

String getUniqueKey()

Retrieve the unique key (GUID) of this system.

In combination with the storage key prefix (see getStorageKeyPrefix()), the unique key is used as identifier for a system in the user mapping database tables.

Returns:
unique key as String

getLogonMethod

String getLogonMethod()

Retrieve the logon method configured for this system.

The result must be the value of system attribute IUserMapping.UMAP_SYSTEMATTRS_LOGONMETHOD. For details, see method getAttribute(String).

Returns:
returns the logon method or null if logon issues are not relevant for this system

getAttribute

Object getAttribute(String attributeName)

Retrieve the value of a system attribute.

The following attributes are required by user mapping itself. The value data type for these attributes is String.

Status (SAP systems / other systems) Attribute name Range
Description
Mand./Mand. IUserMapping.UMAP_USERMAPPING_TYPE "user", "admin", "admin,user"
Determines whether only (user) administrators, only end-users or both may edit user mapping data for the system.
Mand./Opt. IUserMapping.UMAP_SYSTEMATTRS_LOGONMETHOD ILoginConstants.SSO_JCO_LOGON_METHOD_UIDPW, ILoginConstants.SSO_JCO_LOGON_METHOD_TICKET, ILoginConstants.SSO_JCO_LOGON_METHOD_X509CERT
The logon method (type of authentication credentials) to use for connections to the backend system.
Mand./NA IUserMapping.UMAP_SYSTEM_TYPE "SAP_R3", "SAP_BW", "SAP_CRM"
Type of SAP system.
Opt./Opt. IUserMapping.UMAP_USERMAPPING_FIELDS A string following the rules documented in System Properties for User Mapping
Definition of additional user mapping fields.
By default, a user mapping entry only consists of a mapped user ID and a mapped password. Using this attribute, it can be extended to an arbitrary number of additional fields (e.g. the logon language for SAP systems).

(Opt. = Optional; Mand. = Mandatory; NA = Not applicable)

Additionally, at least for the SAP reference system, an implementation must be able to provide JCO connection properties as system attributes. The property key is used as system attribute name, the property value is the attribute value.

It is in the responsibility of an implementation to be able to provide the JCO properties by attribute names and as data types as required by the current JCO release. UME does not use these values directly, but passes them to JCO when opening connetions to backend systems to verify user mapping credentials.

As a first hint: At the time when this documentation has been written, the following JCO properties were supported by the system landscape wrapper / object implementation for SAP Enterprise Portal's system landscape:

  • "ashost"
  • "sysnr"
  • "client"
  • "ServerPort"
  • "msserv"
  • "gwserv"
  • "gwhost"
  • "mshost"
  • "group"
  • "ConnectionString"
  • "r3name"
  • "SAPApplicationR3name"
  • "SystemAlias"
  • "snc_lib"
  • "snc_myname"
  • "snc_qop"
  • "snc_mode"
  • "snc_partner_name"
  • "tphost"
  • "tpname"
  • "trace"
  • "lang"

Parameters:
attributeName - The name of the requested attribute.
Returns:
The attribute value as Object. Usually, this is a String, but this is not guaranteed.

getSystemDescription

String getSystemDescription()
Retrieve a plain text description for this system.

Returns:
Plain text system description.

getPrintableName

String getPrintableName()
Retrieve a printable name for this system (e.g. for select lists).

Returns:
Printable name for the system.

getLandscapeClass

Class getLandscapeClass()
Return the implementation of the ISystemLandscapeWrapper that is responsible for this system. Can be used to be able to distinguish system objects that come from different system landscapes.

Returns:
Class of the system landscape wrapper.

getStorageKeyPrefix

String getStorageKeyPrefix()
Return the system landscape specific prefix for user mapping data being saved in UME database tables.

This must be the same value that is returned by the ISystemLandscape.getStorageKeyPrefix() method of the system landscape wrapper which is responsible for the system object. That means this prefix must be identical for all system objects handled by the same system landscape wrapper. The recommended implementation of this method is a delegated call to ISystemLandscape.getStorageKeyPrefix().

Returns:
the prefix for the unique key in user mapping database entries

getAttributeNames

Enumeration getAttributeNames()
Retrieve the names of all available system attributes.

Returns:
Enumeration of attribute names (as Strings)

getAlias

String getAlias()
Retrieve the alias of this system object.

Returns:
the system alias

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.