Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5145

Logged as 'anonymous' when configuring OAuth2 for OData using KeyCloak

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.12.12.6_3
    • Fix Version/s: 10.1
    • Component/s: OData
    • Labels:
      None

      Description

      After configuring OAuth2-Based Security for OData using Red Hat SSO [1], I have noticed, in the audit log file (teiid-audit.log), there is no longer information about this specific user. Indeed, JDV always logs the user as 'anonymous' .

      10:29:55,132 DEBUG [org.teiid.AUDIT_LOG] (http-127.0.0.1:8080-1) [sample.1, null anonymous USERPASSWORD null null null false] <session.logon-request>
      10:29:55,141 DEBUG [org.teiid.AUDIT_LOG] (http-127.0.0.1:8080-1) [anonymous@oauth] <session.logon-success>
      10:29:55,432 DEBUG [org.teiid.AUDIT_LOG] (http-127.0.0.1:8080-1) OOjgSY3H+PdI [anonymous@oauth] <session.logoff>

      [1] https://access.redhat.com/documentation/en-us/red_hat_jboss_data_virtualization/6.3/html/security_guide/chap-oauth-based_security_for_odata

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mcouliba Madou Coulibaly
                Reporter:
                mcouliba Madou Coulibaly
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: