Karaf
  1. Karaf
  2. KARAF-738

Need a new system bundle to load up a set of pair of keystore/trustore via <jaas:config>

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Issue Links

        Activity

        Hide
        Dan Tran added a comment -

        by putting management's init into sleep for 5 sec. It works. So there is definitely a race condition

        Show
        Dan Tran added a comment - by putting management's init into sleep for 5 sec. It works. So there is definitely a race condition
        Hide
        Dan Tran added a comment -

        there seems to a race condition where karaf's management bundle seems not able to detect the keystores created by the new proposed system bundle. However If I debug management bundle at startup, it works.

        So how do I can make sure management bundle to start only after new propposed system bundle completes its initialization?

        Show
        Dan Tran added a comment - there seems to a race condition where karaf's management bundle seems not able to detect the keystores created by the new proposed system bundle. However If I debug management bundle at startup, it works. So how do I can make sure management bundle to start only after new propposed system bundle completes its initialization?
        Hide
        Dan Tran added a comment -

        I attached the initial implementation ( keystores.zip). What missing are to add this bundle to startup.properties together to jaas bunbles. and the karaf assembly need a pair of default key and trustore

        Show
        Dan Tran added a comment - I attached the initial implementation ( keystores.zip). What missing are to add this bundle to startup.properties together to jaas bunbles. and the karaf assembly need a pair of default key and trustore
        Hide
        Dan Tran added a comment -

        instead of creating a brand new system bundle, does it make sense to just load the desired keystores under o.a.k.jaas.cfg?

        Show
        Dan Tran added a comment - instead of creating a brand new system bundle, does it make sense to just load the desired keystores under o.a.k.jaas.cfg?
        Hide
        Jean-Baptiste Onofré added a comment -

        It makes sense for me. We just have to keep in mind that it should be fully configurable and flexible.

        Show
        Jean-Baptiste Onofré added a comment - It makes sense for me. We just have to keep in mind that it should be fully configurable and flexible.
        Hide
        Andreas Pieber added a comment -

        +1; tbh I have a requirement right now where I will need exactly this feature

        Show
        Andreas Pieber added a comment - +1; tbh I have a requirement right now where I will need exactly this feature

          People

          • Assignee:
            Unassigned
            Reporter:
            Dan Tran
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development