HiveMind
  1. HiveMind
  2. HIVEMIND-181

Hivmind will not work in with security enforcments due to bug in Javassist

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      IBM WebSphere 5 with Security ON
      IBM JVM

      Description

      Due to the bug in Javassist, ProtectionDomain wasn't associated with generated classes, see JIRRA from Javassist:

      http://jira.jboss.com/jira/browse/JASSIST-23

      This bug stops from executing any Hivemind based application (e.g. Tapestry) on the any environment with active SecurityManager.

      Unfortunately for proper fixing of this bug some changes within the Hivemind are required, such as (I expect)
      1. Switch to the latest Javassist
      2. Change all "old" method calls to the new one with additional parameter - Hivemind protection domain.

        Activity

        Hide
        Johan Lindquist added a comment -

        The attached patch resolves the issues about protection domain. Not sure if the choice of using the HiveMindClassPool class as the default provider of said domain is correct.

        Show
        Johan Lindquist added a comment - The attached patch resolves the issues about protection domain. Not sure if the choice of using the HiveMindClassPool class as the default provider of said domain is correct.
        Hide
        Renat Zubairov added a comment -

        This bug require changes in the hivemind - first update the Javassist version, second use different, more correct helper method of the Javassist.

        Show
        Renat Zubairov added a comment - This bug require changes in the hivemind - first update the Javassist version, second use different, more correct helper method of the Javassist.
        Hide
        Jonas Maurus added a comment -

        As stated in HIVEMIND-192 and at http://jira.jboss.com/jira/browse/JASSIST-23 the bug in Javassist has been fixed.

        Show
        Jonas Maurus added a comment - As stated in HIVEMIND-192 and at http://jira.jboss.com/jira/browse/JASSIST-23 the bug in Javassist has been fixed.
        Hide
        Jonas Maurus added a comment -

        This is now a duplicate of HIVEMIND-192 where a detailed solution for this problem has been proposed.

        Show
        Jonas Maurus added a comment - This is now a duplicate of HIVEMIND-192 where a detailed solution for this problem has been proposed.
        Hide
        Renat Zubairov added a comment -

        Sorry, forgot to set.

        Component: Framework (I guess)
        Affects Version: 1.1.1

        Show
        Renat Zubairov added a comment - Sorry, forgot to set. Component: Framework (I guess) Affects Version: 1.1.1

          People

          • Assignee:
            Unassigned
            Reporter:
            Renat Zubairov
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development