Announcement Announcement Module
Collapse
No announcement yet.
Spring security and OSGi Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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:
    http://img3.imageshack.us/img3/7206/springxo.png

    Should be:
    http://img263.imageshack.us/img263/2562/spring2.png

    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.

    Thanks.
    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.

    Comment


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

      Thanks.

      Comment

      Working...
      X