Code Fix: K2 connect for SAP cannot impersonate the User

  • 16 February 2021
  • 0 replies
  • 7 views

Userlevel 5
Badge +20
 

Code Fix: K2 connect for SAP cannot impersonate the User

KB000554

PRODUCT
K2 blackpearl
SEE ALSO

K2 connect for SAP Dowloads Page

LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Introduction

K2 connect for SAP utilizes a K2 blackpearl centric SSO (Single Sign On) Authentication method, and with the introduction of this hotfix static credentials will be supported as well.
Currently the K2 connect SmartObject Service is unable to use preconfigured credentials (i.e. static credentials) configured on the service instance.

 

 

Error Scenario

An existing system or a newly installed one may require that the credentials of the Service Instance be passed. One of two outcomes may occur:

  1. If credentials have already been cached the service broker will ignore the credentials of the Service Instance and pass the credentials of the Logged in User from the credentials cache
  2. If no credentials have been cached, then an authentication exception is thrown

 

 

Error Resolution

  1. Install the Hotfix, and restart the K2 Server
  2. Open K2 Workspace
  3. Browse to K2 Management Console > K2 [Server Name] > Services > K2 connect for SAP
  4. Locate the registered K2 connect Service Instance, select it and click Edit
  5. Enter the Security Provider, Username, Password, Extra Data (which must be the same value as Security Provider)and enable Impersonate
  6. Click Next
  7. Click Ok
Once the above changes have been made, restart K2 blackpearl Server. This is especially required if a SAP SmartObject was executed prior to making the change to refresh the Service

This Hotfix is contained within the lastest K2 connect for SAP Update. The latest K2 connect for SAP Update is available as an independant installation package which can be found here: http://portal.k2.com/downloads/k2connect/default.aspx

 


0 replies

Be the first to reply!

Reply