egeria: TEX is not passing logged in user

If OMAG Server is setup with security, and one logs into the Egeria UI with user ‘faith’, that userid is not passed to the OMAG server by TEX

The error on the server is

egeriacore_1  | 2019-09-04 09:23:58.460 DEBUG 1 --- [nio-8080-exec-4] o.o.o.c.m.f.OMAGServerInstanceErrorCode  : ==> OMAGServerInstanceErrorCode.getMessage([cocoMDS1, anon]): The OMAG Server cocoMDS1 is not available to service a request from user anon

This only occurs when metadata security is configured as per the ‘metadata-server-config’ notebook. If security is disabled (DELETE) then this error does not occur.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

I have added a quick fix to TypeExplorerController to pass the userId on getMetadataCollectionId. This is an interim fix. I need to create an OMRS Java client that can call both the local and enterprise repository services. Then TEX does not need to use the OMRSRESTConnector.