Announcement Announcement Module
No announcement yet.
Spring security and OSGi Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring security and OSGi

    Hi all.

    I'm trying to build a JAVA application composed of a core and X bundles. (OSGi)
    I am using Spring security to authenticate user at login and check user identity and credentials in Business methods. The question is, is it possible to share the security context to all the bundles, to validate User identity in each bundles ?

    For example:

    Should be:

    I was thinking to add a sevice in the core to check User credentials. Is this the right way to do it ?

    (I hope my English is no too Ugly =/)

    PS.: I have seen in the documentation the possibility to publish an application Context, but using directly this context seems to be discouraged.

    Last edited by TorTukiTu; Jul 25th, 2011, 12:53 PM.

  • #2
    For those who will read that message, I bought the book "Spring Dynamix Modules in Action" and get the answer.

    I just didn't know enough about how works OSGi ans Spring DM.


    • #3
      Can you please share reference to the section/chapter in the book?