Start of Content Area

Procedure documentation Configuring CAF Security and Repository Managers  Locate the document in its SAP Library structure

Use

You use the CAF repository manager to provide access to business objects from KM services. You use the CAF security manager to restrict access to the CAF repository based on permissions you set with the CAF authorization tool in the CAF Runtime Configurator.

Prerequisites

You have logged on to the SAP NetWeaver Portal with http://<host>:<port>/irj and remembered to replaced <host> and <port> with the machine name of the portal you are using. You have also navigated to System Administration ® System Configuration ®Knowledge Management ® Content Management ®Repository Managers.

Procedure

Creating the CAF Security Manager

       1.      Go to Security Manager ® CAF Security Manager.

       2.      Choose New to create a new CAF security manager.

       3.      Enter the following properties:

Field

Value

Name

CAFSecurityManager_<J2EE_machine_name>_<instance number>

Note

If CAF and the SAP NetWeaver Portal are installed on the same J2EE instance and the portal is used for this single CAF instance only, you can create a name without the prefix CAFSecurityManager.

List of invisible business objects

sap.com/caf.core/Document

This means that these objects will not be available on KM, but in the document or CAF repository

URL of CAF Web service

http://<J2EE_machine_name>:<port>/CAFDataService/Config?style=rpc_enc

This parameter should point to the CAF server with the same host, port and protocol settings as in the settings for the CAF repository manager.

       4.      Save your changes and restart the portal.

Creating the CAF Repository Manager

 

       1.      Go to CAF Repository.

       2.      Choose New to create a new CAF repository manager.

       3.      Enter the following properties:

Field

Value

Repository Name

caf-<J2EE_machine_name>-<system_ID>

This is the value of the KM_REPOSITORY you entered in Configuring CAF Runtime Properties; however, without a forward slash (/).

Prefix

/caf-<J2EE_machine_name>-<system_ID>

This is the same value as the KM_REPOSITORY; however, without a forward slash.

Active

Indicate its use by entering a check in the checkbox.

Security Manager

Enter the name of security manager you created above in Creating the CAF Security Manager.

URL of CAF Web service

http://<J2EE_machine_name>:<port>/CAFDataService/Config?style=rpc_enc

List of templates that are used in display name generation

This defines the display name of a KM resource. Entries in the list are separated by a semicolon. Each entry consists of a name-value pair which contains the full qualified object name and the template that is used for display name generation.

For example:

sap.com/caf.tests/Course=Description: "<description>" (created by: "<createdBy>");sap.com/caf.tests/Student=Title: "<title>")

For the property value sap.com/caf.tests/Course=Description: “<description>”(created by “<created by>”);” a resource name will be displayed.

       4.      Save your changes and restart the portal. To do this do the following:

                            a.      Go to System Administration ® System Configuration ® Service Configuration.

                            b.      Expand the Application directory.

                            c.      Select sap.com~caf~km.ep.repmanager with the secondary mouse button and choose Administrate.

                            d.      From Application Details, choose Restart.

Creating the CAF Document Repository

 

       1.      Go to CM Repository ® documents_xapps.

       2.      Choose Duplicate.

       3.      Enter the following properties:

Field

Value

Name

/document_xapps_<J2EE_machine_name>-<system_ID>

Prefix

/document_xapps_<J2EE_machine_name>_<SAP System ID>

This is the value of the  KM_TMP_REPOSITORY_FOLDER that you entered in Configuring CAF Runtime Properties.

Repository ID in Database

document_xapps_<J2EE_machine_name>-<system_ID>

Security Manager

This is the name of the CAF security manager you created in the previous section of this topic.

       4.      Restart the SAP NetWeaver Portal.

See also:

CAF Core and KM Integration for more information about the repositories used in CAF.

End of Content Area