Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-69

EJB Timer Service broken when used with security domain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • JBossAS-4.0.1 Final
    • JBossAS-4.0.0 Final
    • EJB2
    • None

    Description

      When an EJB (an entity bean in my case) has a security
      domain associated with it, calls to the ejbTimeout
      method fail with a SecurityException (insufficient method
      permissions). It appears the principal is being hardcoded
      to null in the TimedObjectInvoker, causing the security
      check to fail in the SecurityInterceptor. I have tried
      setting the method permissions for ejbTimeout to
      unchecked, but these aren't picked up, possibly because
      ejbTimeout is not a member of the bean's local
      interface.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified