This Space has blogs on various topics in the field of SAP. These blogs point out solutions to various technical and functional issues that consultants face during implementation or support of SAP Projects. Readers/followers are welcome to contribute to this space by emailing your content at bohra.mohammadi@gmail.com. You will be rewarded according to the topic/number of words/complexity of the topic/issue which are you addressing in your blog.
Tuesday, May 24
SAP EP - Standard Portal Services
After reading this post, you will be able to answer the following questions.
What are available services in portal runtime?
What are the key components of user management engine ?
How to use the UM API to work with the user, group and role objects ?
What is the architecture of connector framework ?
How to use the connector gateway to connect to R/3 System and to RDBMS ?
Some of the Public Services of Portal Runtime are :
Logger:
This service is used to diagnose problems and to return detailed information
about the problems identified. Depending on the target user, it is possible to define
simple or more complex logging. The logger provides a set of convenient methods for generating log messages.
JCo client service:
To connect to SAP Systems using RFC connections.
HTML Business for Java:
HTML Business for Java provides the user with an efficient set of controls, similar to JavaSwing. The controls are based on servlets and JSP pages. The developer uses bean-like components or JSP tags. Renderer classes translate the components into HTML commands.
User Mapping:
User has different IDs in different systems. This service maps them all.
User Management:
User Information from the portal
Navigation:
Custom Navigation IViews or Hierarchies.
Xsltransform:
API for transforming XLS to XML document
jcoclient:
Manage JCO Client access by implementing pooling and session timeout/logoff detection
Application Contentconverter:
Provides Factories to convert RSS to HTML and XML to HTML.
Application Contentconversion:
The Content Type Conversion Service offers API to add content converter capabilities to the response process.
Admin Logviewer:
search, filter, browser, download log files of the Platform.
Admin Logadmin:
manage logger configuration of the Platform.
EPCF Toolbox:
Java classes for EPCF integration
Useragent:
User-Agent (Browser) detection plus affiliation checker
System Landscape: Get information about the system landscape iView Service: iViews/Pages/Systems semantic layer
What is UME ? UME is the central storage place for user and role information of all Java and ABAP applications that use UME. Persistence manager is responsible for writing the data to and reading the data from the correct data source. The application is unaware from which data source is the data being read or written to.
Various sources of data storage for UME are possible. Some are : SAP R/3 system, LDAP, Database etc.
It may happen that that the data source which is being used by UME is also required by some other system like SRM. In such a case a replication of the user information present at the persistence has to be made. This task is handled by the replication manager.
Two main packages in which almost all of the APIs of UME are covered is :
Com.sap.security.api and com.sap.security.api.acl
IUser, IGroup and Irole are present in com.sap.security.api. Also UMFactory and IUserAccount are present in this package.
IAcl and IAclManager are present in the com.sap.security.api.acl.
User Management factory
Applications can access all the functionality of UME through com.sap.security.api.UMFactory
Various other factories can be obtained from the UMFactory.
UME Objects are identified by Unique IDs. IUserFActory can be used to create, delete, search users. Also you can perform mass commit/rollback on a set of users The Iuser Object contains all the information about a user. Name, UniqueID, LDAP attributes, display name etc.
If you want to Modify a User Information, Use the IUserMaint Object. By using the Iuser, you can obtain information about the logged in user. Also you can obtain information about another User. You can obtain information about other User if you know UniueID of the user.
For more information methods of IUserFactory and Iuser APIs,Visit Methods of IuserFactory and Iuser APIs
Related Articles:
Portal Eventing and Navigation
Portal Look and Feel - Branding the Portal
How to Develop Portal Applications
SAP EP-Developing portal content and assigning permissions
SAP EP-Role maintenance
SAP EP-How to make Enterprise Portal highly available
SAP Material Management Introduction
SAP EP-J2EE architechture
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
You are welcome to express your views here...