Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-743

TomcatSecurityService created RunAsRole not return true when call TomcatSecurityService.isCallerInRole

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.2
    • None
    • None

    Description

      TomcatSecurityService override the createRunAsSubject and has not call the super's first.So it always create a RunAsRole principal. Its isCallerInRole only check TomcatUser and the super's isCallerInRole check Group or GroupPrincipal. Neither check the RunAsRole, so IsCallerInRole always return false.

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            chunlinyao chunlinyao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: