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)
- FilterInvocation should support getDispatcherType() HOT 2
- Annotation based putting values to session HOT 3
- spring-security/docs/modules/ROOT/pages/servlet/authorization /method-security HOT 1
- Add another loadUser method for UserDetailsService to takes Long as its argument HOT 5
- Attach Antora Docs to Pull Requests
- Attach Antora Docs to Pull Requests
- Attach Antora Docs to Pull Requests
- Attach Antora Docs to Pull Requests
- doc: added hint to declare GrantedAuthorityDefaults as infrastructure bean
- doc: added hint to declare GrantedAuthorityDefaults as infrastructure bean
- doc: added hint to declare GrantedAuthorityDefaults as infrastructure bean
- doc: added hint to declare GrantedAuthorityDefaults as infrastructure bean
- OidcBackChannelLogoutHandler#logoutUrl not configurable, context path missing from default HOT 2
- Clarify the behavior of Concurrent Session Management when an IdP is involved HOT 8
- DefaultRedirectStrategy includes firewalled semicolon jsessionid in url
- Support Remember-Me for OAuth2 login
- LDIF file on official documentation breaks the startup process
- Make OpenSamlMetadataRelyingPartyRegistrationConverter public
- Add support OAuth 2.0 Step-up Authentication Challenge Protocol
- Ineffective CSRF Protection for SPAs as suggested by the Official Docs?
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.