Results 1 to 2 of 2

Thread: Spring security and OSGi

  1. #1
    Join Date
    May 2011
    Posts
    9

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

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

  2. #2
    Join Date
    May 2011
    Posts
    9

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •