Results 1 to 7 of 7

Thread: Spring Security in JBOSS

  1. #1
    Join Date
    Dec 2008
    Posts
    2

    Default Spring Security in JBOSS

    I'm trying to integrate Spring security with a web application running on JBOSS application server. Is there an example on the web which describes the required steps?
    Thanks,
    vj_nov

  2. #2
    Join Date
    Jun 2007
    Location
    Minsk, Belarus
    Posts
    215

    Default

    Spring security solution is portable across various application servers.
    http://static.springframework.org/sp...acegi-security
    Do you want to integrate JBoss container security with spring security?

    It is possible to use two approaches for integrating spring security with container based security:

    - Pre-Authentication functionality
    preauth sample application
    http://static.springframework.org/sp...h.html#d4e1942

    - JBoss login module
    http://static.springframework.org/sp...e/html/ca.html
    http://static.springframework.org/sp....html#ca-jboss

  3. #3
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    Note that container adapters are no longer supported and have been removed for the 2.5 release. So we dont advise that route.

  4. #4
    Join Date
    Oct 2008
    Posts
    17

    Default

    i deployed the samples came along with spring security distribution on Jboss n they worked perfectly fine.

  5. #5
    Join Date
    Dec 2008
    Posts
    2

    Default

    Thank you all for your replies.
    Luke,
    Quote Originally Posted by Luke Taylor View Post
    Note that container adapters are no longer supported and have been removed for the 2.5 release. So we dont advise that route.
    What is the suggested approach then? Doing all the authentication/authorization in the web application?

    Maverick,
    Quote Originally Posted by maverick View Post
    i deployed the samples came along with spring security distribution on Jboss n they worked perfectly fine.
    What are the sample application you got running? And which version of JBOSS did you use?

    thanks

  6. #6
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    Have you tried running the sample applications that come with the project in the version of JBoss you are using? If so, did you have any problems? If not then give them a try and post any issues you have here.

  7. #7
    Join Date
    Oct 2008
    Posts
    17

    Default

    I deployed contacts and bankTutorial application in JBoss4.0.5.

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
  •