Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6031235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:09:12+00:00 2026-05-23T05:09:12+00:00

Ive been working now with the Spring Framework 3.0.5 and Spring Security 3.0.5 for

  • 0

Ive been working now with the Spring Framework 3.0.5 and Spring Security 3.0.5 for several time. I know that Spring Framework uses DI and AOP. I also know that Spring Security uses DI, for example when writing custom handlers or filters. Im not sure whether Spring Security also uses AOP – so my first question is: does it?

Well, Id also like to know how Spring Security can be used for non-spring-based applications. Its written in their documentation that this is possible. Well, I wonder how – it seems like it uses DI, so how should it work in a simple java web application? I guess at least a web container which supports dependency injection is needed, correct? (Which one could that be?)

Thank you for answering 🙂

[EDIT]
documentation says:

“documentation says: “Spring Security provides comprehensive security services for J2EE-based enterprise software applications. There is a particular emphasis on supporting projects built using The Spring Framework, which is the leading J2EE solution for enterprise software development. If you’re not using Spring for developing enterprise applications, we warmly encourage you to take a closer look at it. Some familiarity with Spring – and in particular dependency injection principles – will help you get up to speed with Spring Security more easily.””

j2ee-based enterprise software applications……… emphasis on supporting projects using spring framework…… well this means it should be possible to work with it without Spring Framework itself!
?

AND:

Even though we use Spring to configure Spring Seurity, your application doesn’t have to be Spring-based. Many people use Spring Security with web frameworks such as Struts, for example.

This is from the spring security homepage. well….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:09:13+00:00Added an answer on May 23, 2026 at 5:09 am

    Does it use AOP ?

    Yes spring-security uses AOP for its method security (you’d have to search the page to find it).

    Can you use spring-security without spring ?

    Generally no.

    As you need to define spring beans for several spring-security elements.

    But! You can use Acegi security without spring as far as I know. Which should give you close to the same functionality.

    Can you secure a non-J2EE application

    Definitely.

    Anything that can run in a servlet container can be secured with spring-security. You just need Spring’s IoC/DI.

    This answer can help you on the minimal spring-security dependencies.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working on a django project for a while now that uses grappelli
I've been working on this for a few days now, and I've found several
I've been working in ASP.NET for several years now (since the 1.0 days!), but
I've been struggling with Spring Security LDAP for a while now, and just when
Ive been working on some jquery within a a page. Now all of a
I've been working on this elevator program for quite some time now and finally
I've been working with Visual Studio for a long long time, but now I'm
I've been working with LINQ To SQL for some time now, and what I
I've been working on a java spring project for a few months now. I
I've been working on an ASP.net MVC project that uses checkbox HTML Helpers in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.