How to disable CJOC authorization in CJE?

Issue

  • Changes to Identity Management Provider have locked out access to CJOC
  • No access to CJOC

Environment

Resolution

Authentication for CJOC can be removed, if needed, by editing the config.xml file. However, in PSE additional steps are needed to ensure that changes are saved and restart is handled correctly.

1) Connect to the worker

First, run cje run find-worker-for cjoc to find out in which worker the container is running. In the following example it would be worker-2 for CJOC, Then ssh into the worker with

dna connect worker-2

2) Disable Security

  • Go to /mnt/cjoc/<containerid> in the file system and find config.xml file.
  • Open config.xml file in the vi editor.
  • Look for the <useSecurity>true</useSecurity> element in this file.
  • Replace true with false

4) Restart CJOC

  • Restart the CJOC worker - dna stop cjoc and dna start cjoc
Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Eric Long

    How do you find the TENANT_ID ?

     

Please sign in to leave a comment.