aspose file tools*
The moose likes Other Application Frameworks and the fly likes Question about Security in Spring in Action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Question about Security in Spring in Action " Watch "Question about Security in Spring in Action " New topic
Author

Question about Security in Spring in Action

Eusebio Floriano
Ranch Hand

Joined: Mar 07, 2004
Posts: 237
Hi Craig Walls and Ryan Breidenbach.

What does "Spring in Action " cover about security using Spring ?
Does it cover acegi ?
What�s the diference between acegi and a ejb container�s security ?

Regards,


SCJP 1.4 / 5.0 - SCBCD 1.3 - SCWCD 1.4 - IBM 484
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 301
Originally posted by Vinicius Boson:
Hi Craig Walls and Ryan Breidenbach.

What does "Spring in Action " cover about security using Spring ?
Does it cover acegi ?
What�s the diference between acegi and a ejb container�s security ?

Regards,


"Spring in Action" does cover Acegi. The coverage is focused on what was available in Acegi when we wrote it...Acegi has evolved a little bit since then, though.

EJB security focuses on controlling access to an EJB's methods. Acegi provides the same sort of control to a POJO, via Spring AOP. But that's not all...

Acegi extends that control out to the web-layer by providing access control around servlet-based web requests, using servlet filters. (Notice that I didn't say Spring MVC-based requests...Acegi can be used to secure any servlet-based web application.)

Acegi also provides a flexible framework for authentication, allowing you to easily choose between HTTP Basic authentication, form-based authentication, or even use Yale CAS for single sign-on authentication. But if none of those suit your needs, Acegi is highly interface-based, so you're welcome to provide your own authentication mechanism by implementing Acegi interfaces.

And there's more to Acegi, but I don't want to waste a lot of space here repeating what our book and Acegi's own documentation already adequately spell out. In short, Acegi provides a flexible security framework around POJOs and/or servlets.


Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
Mathew Manoj
Greenhorn

Joined: Oct 23, 2003
Posts: 9
How can we unit Tests using the Spring Framework especially for DAOs using the Hibernate Sorted Set. Is Junit Testing covered in Spring in Action.

Which version of Spring is it covering. ?

I have been using Spring for the last 6 months and i love it.
The features i like are Transaction Management
Database connection providers could be changed easily under the hood.
Bean Factory


scjp 1.2 scea(Part I) scwcd beta(Awaiting Results) scbcd(in progress)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about Security in Spring in Action