Code Monkey home page Code Monkey logo

Comments (4)

spring-projects-issues avatar spring-projects-issues commented on May 22, 2024

Jason Carreira said:

I would suggest not using “SecurityConfig” as the name of the annotation. Something like “Secured” would be more in line with the common naming for Annotations.

from spring-security.

spring-projects-issues avatar spring-projects-issues commented on May 22, 2024

Mark St.Godard said:

Ben,

I have checked in the initial implementation of the Java 5 Annotations support.
Includes SecurityAnnotationAttributes, @Secured annotation, junit tests, and a port
of the “samples/attributes” —> “samples/annotations” example.

I have also started updating the docbook docs, including example configuration and usage.

Next up need to update the Contacts filter sample application to use the @Secured
and @Transactional annotations.

Cheers,
Mark

from spring-security.

spring-projects-issues avatar spring-projects-issues commented on May 22, 2024

Ben Alex said:

Mark, what’s the latest on this? I thought you’d finished the sample app. Can this task be closed?

from spring-security.

spring-projects-issues avatar spring-projects-issues commented on May 22, 2024

Mark St.Godard said:

Hi Ben,

I have the @Secured annotation and configuration checked in with tests under “core-tiger”

Core:
net.sf.acegisecurity.annotation.Secured
net.sf.acegisecurity.annotation.SecurityAnnotationAttributes

http://acegisecurity.sourceforge.net/multiproject/acegi-security-tiger/apidocs/index.html

Samples:

I also converted over the “Attributes” example to Java 5 "Annotations:

acegisecurity/samples/attributes (Commons Attributes version)
acegisecurity/samples/annotations (Java 5 Annotation version)

Contacts:
I also created an version of the “Contacts” sample application that uses Java 5 Annotations for Security and Transaction management.

acegisecurity/samples/contacts (original JDK 1.3+ versions)
acegisecurity/samples/contacts-tiger (Java 5 Annotations version)

The above sample app uses @Secured and @Transactional annotations.

Documentation:

I have also added documentation to the Reference Guide that outlines the usage and configuration
of the Java 5 Annotations version vs. Commons Attributes.

So, I think its relatively complete, junit tests, etc.. I have tested under Tomcat 4.x and 5.×.
Have a look and let me know.

Cheers,
Mark

from spring-security.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.