The {{{http://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/trunk/core/src/main/resources/org/springframework/security/config/}schema files}}
The {{{http://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/trunk/core/src/main/resources/org/springframework/security/config/}schema files}}
can be found in the core package.
can be found in the core package. For simplicity, a relax NG compact schema (the rnc file) has been used as it is
easier to work with. This is then coverted into a W3C schema using trang.
For simplicity, a relax NG compact schema (the rnc file) has been used as it is easier to work with.
This is then coverted into a W3C schema using trang.
* Design
* Design
@ -29,9 +27,10 @@ Overview
The focus should be mainly on providing high-level components which logically match the different aspects of
The focus should be mainly on providing high-level components which logically match the different aspects of
securing an application. While it is also useful to have namespace options for simplifying the configuration of
securing an application. While it is also useful to have namespace options for simplifying the configuration of
existing framework beans, this is a somewhat orthogonal requirement, with different target users, and will be dealt
existing framework beans, this is a somewhat orthogonal requirement, with different target users, and will be dealt
with separately. Only the most obvious customizations will be implemented to start with.
with separately. Only the most obvious customizations will be implemented to start with. It should also be possible
to add new features witout affecti the existing design.
With these aims in mind, the design is largely based around the large-scale dependencies within the framework.
Keeping these aims in mind, the design is largely based around the large-scale dependencies within the framework.
It can be divided up into the following areas:
It can be divided up into the following areas:
* <<Web/HTTP Security>> - this is by far the largest and most complex area, consisting of
* <<Web/HTTP Security>> - this is by far the largest and most complex area, consisting of
@ -86,8 +85,8 @@ Overview
* Http Security
* Http Security
Probably the best starting point here is to look at the namespace configuration which is currently in use in the
Probably the best starting point here is to look at the {{{http://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/trunk/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml}namespace configuration file}}
sample application:
which is in use in the tutorial sample application: