Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 7.1.0.GA
    • Fix Version/s: 7.1.0.GA
    • Component/s: Kie-Server
    • Labels:
      None
    • Environment:

      Springboot

    • Target Release:
    • Fix Build:
      CR2
    • Steps to Reproduce:
      Hide

      Run CaseSLAComplianceIntegrationTest Kie server test against Springboot.

      Show
      Run CaseSLAComplianceIntegrationTest Kie server test against Springboot.
    • Story Points:
      1
    • Sprint:
      2018 Week 36-38

      Description

      In case SLA expires in a case deployed in Springboot the error is thrown:

      java.lang.SecurityException: User system is not authorized to access case
      

      Complete stacktrace can be found in attachment.

      The issue can be caused by having different user name for internal operations. This jBPM commit introduces internal system user with name "unknown" to execute internal task which aren't directly triggered by user request (like SLA expiry). Kie server JACCIdentityProvider returns "unknown" user in case no authentication was done. Springboot SpringSecurityIdentityProvider however returns "system" user.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swiderski.maciej Maciej Swiderski
                  Reporter:
                  ksuta Karel Suta
                  Tester:
                  Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: