Show TOC

Configuring CAF Security and Repository ManagersLocate this document in the navigation 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.
    Note

    Remember to replace<host> and<port> with the machine name of the portal you use.

  • You have 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. To create a new CAF security manager, choose New.
  3. Enter the following properties:
    Field Value

    Name

    CAFSecurityManager_<AS_Java_machine_name > _ < instance number >

    Note

    If CAF and the SAP NetWeaver Portal are installed on the same Application Server (AS) Java 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 are not available on KM, but in the document or CAF repository.

    URL of CAF Web service

    http://<AS_Java_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. To create a new CAF repository manager, choose New.
  3. Enter the following properties:
    Field Value

    Repository Name

    caf-<AS_Java_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-<AS_Java_machine_name >-< system_ID >

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

    Active

    Enable 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://<AS_Java_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 fully 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 is displayed.

  4. Save your changes and restart the portal. To do this, do the following:
    1. Go to System Administration → System Configuration → Service Configuration.
    2. Expand the Application directory.
    3. Select sap.com~caf~km.ep.repmanager with the secondary mouse button and choose Administrate.
    4. 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_<AS_Java_machine_name>-<system_ID>

    Prefix

    /document_xapps_<AS_Java_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_<AS_Java_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.