Comments (4)
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.
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.
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.
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)
- Cannot convert value of type 'org.springframework.security.web.access.intercept.FilterSecurityInterceptor' to required type 'javax.servlet.Filter' for property 'filter': no matching editors or conversion strategy found HOT 1
- SpringSecurityCoreVersion.SERIAL_VERSION_UID is wrong in Spring Security 6.3 HOT 2
- Prepare for Spring Security 6.4
- Should OidcIdToken implement equals? HOT 5
- SpringOpaqueTokenIntrospector does not add scopes as granted authorities properly HOT 2
- LDIF file on official documentation breaks the startup process
- LDIF file on official documentation breaks the startup process
- Support `GrantedAuthorityDefaults` Bean in authorizeHttpRequests Kotlin DSL
- IpAddressMatcher.matches(String address) still accepts URLs HOT 2
- Deprecate `authorizeRequests` from Kotlin DSL
- Remove `authorizeRequests` from Kotlin DSL
- Assert WebSession is not null HOT 1
- Assert WebSession is not null HOT 1
- Assert WebSession is not null HOT 1
- Consider Signing Metadata by Default
- OpenSaml4AssertionValidator is not respecting clock skew settings
- Resolving invalid CSRF token values is not consistent HOT 1
- Resolving invalid CSRF token values is not consistent
- Resolving invalid CSRF token values is not consistent
- Resolving invalid CSRF token values is not consistent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-security.