diff --git a/doc/xdocs/building.html b/doc/xdocs/building.html new file mode 100644 index 0000000000..275b6eee0e --- /dev/null +++ b/doc/xdocs/building.html @@ -0,0 +1,45 @@ + + + + + + +Building + + + + +

Building Acegi Security System

+

Building from CVS

+

This project uses Maven as project manager and build tool. You only need to

+
    +
  1. Install maven (at least 1.0).
  2. +
  3. Run the following instruction on a single line to get latest sources from cvs HEAD
  4. +
    maven scm:checkout-project
    +    -Dmaven.scm.method=cvs
    +    -Dmaven.scm.cvs.module=acegisecurity
    +    -Dmaven.scm.cvs.root=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
    +    -Dmaven.scm.checkout.dir=acegisecurity
    + +
  5. Run maven in any module directory, or maven multiproject:artifact in the root folder if you want to build all modules.
  6. +
+ + diff --git a/doc/xdocs/changes.xml b/doc/xdocs/changes.xml new file mode 100644 index 0000000000..d43e1d12b4 --- /dev/null +++ b/doc/xdocs/changes.xml @@ -0,0 +1,60 @@ + + + + + + + Acegi security changes + + + + Major CVS repository restructure to support Maven and eliminate libraries + Major improvements to Contacts sample application (now demos ACL security) + Added AfterInvocationManager to mutate objects return from invocations + Added BasicAclEntryAfterInvocationProvider to ACL evaluate returned Object + Added BasicAclEntryAfterInvocationCollectionFilteringProvider + Added security propagation during RMI invocations (from sandbox) + Added security propagation for Spring's HTTP invoker + Added BasicAclEntryVoter, which votes based on AclManager permissions + Added AspectJ support (especially useful for instance-level security) + Added MethodDefinitionSourceAdvisor for performance and autoproxying + Added MethodDefinitionMap querying of interfaces defined by secure objects + Added AuthenticationProcessingFilter.setDetails for use by subclasses + Added 403-causing exception to HttpSession via SecurityEnforcementFilter + Added net.sf.acegisecurity.intercept.event package + Added BasicAclExtendedDao interface and JdbcExtendedDaoImpl for ACL CRUD + Added additional remoting protocol demonstrations to Contacts sample + Improved BasicAclProvider to only respond to specified ACL object requests + Refactored MethodDefinitionSource to work with Method, not MethodInvocation + Refactored AbstractSecurityInterceptor to better support other AOP libraries + Fixed AbstractProcessingFilter to use removeAttribute (JRun compatibility) + Fixed GrantedAuthorityEffectiveAclResolver support of UserDetails principals + Moved MethodSecurityInterceptor to ...intercept.method.aopalliance package + Documentation improvements + + + + + + + + + diff --git a/doc/xdocs/cvs-usage.html b/doc/xdocs/cvs-usage.html new file mode 100644 index 0000000000..64937d34fc --- /dev/null +++ b/doc/xdocs/cvs-usage.html @@ -0,0 +1,82 @@ + + + + + +CVS usage +

CVS instructions for all modules

+

This instructions are general, check the module documentation if you need concrete instructions.

+

modulename can be for example:

+ +

Web Access

+

+ http://cvs.sourceforge.net/viewcvs.py/acegisecurity +

Anonymous Access with Maven

+

This project's CVS repository can be checked out through anonymous (pserver) CVS with the following instruction on a single line.

+
maven scm:checkout-project
+    -Dmaven.scm.method=cvs
+    -Dmaven.scm.cvs.module=modulename
+    -Dmaven.scm.cvs.root=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
+    -Dmaven.scm.checkout.dir=acegisecurity
+

Anonymous CVS Access

+

+ This project's CVS repository can be checked out through anonymous (pserver) + CVS with the following instruction set. + When prompted for a password for anonymous, simply press the Enter key. +

+ cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity login +
+ cvs -z3 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity co modulename

+

+ Updates from within the module's directory do not need the -d parameter. +

Developer Access with Maven

+

Only project developers can access the CVS tree via this method. Substitute username with the proper value.

+
maven scm:checkout-project
+    -Dmaven.scm.method=cvs
+    -Dmaven.scm.cvs.module=modulename
+    -Dmaven.scm.cvs.root=:ext:username@cvs.sourceforge.net:/cvsroot/acegisecurity
+    -Dmaven.scm.checkout.dir=acegisecurity
+    -Dmaven.scm.cvs.rsh=ssh
+

Remember to replace 'username' with your actual username on cvs.sourceforge.net.
+ Also change ssh in maven.scm.cvs.rsh=ssh to the name of your ssh executable.

+

Developer CVS Access via SSH

+

+ Only project developers can access the CVS tree via this method. + SSH must be installed on your client machine. Substitute + username with the proper value. Enter your site password when prompted. +

+

+ export CVS_RSH=ssh +
+ cvs -z3 -d :ext:username@cvs.sourceforge.net:/cvsroot/acegisecurity co modulename

+

+ Remember to replace 'username' with your actual username on cvs.sourceforge.net. +

CVS Access behind a firewall

+

+ For those developers who are stuck behind a corporate + firewall, CVSGrab + can use the viewcvs web interface to checkout the source code. +

+ \ No newline at end of file diff --git a/core/xdocs/changes.xml b/doc/xdocs/download.xml similarity index 73% rename from core/xdocs/changes.xml rename to doc/xdocs/download.xml index 9c7dfb33cf..0b14709a4f 100644 --- a/core/xdocs/changes.xml +++ b/doc/xdocs/download.xml @@ -1,4 +1,4 @@ - + + - Acegi security changes + Downloading Acegi + - - Migrated to Maven - +
+ +

+ You can download the latest release from the + Sourceforge project site. +

+ +
diff --git a/doc/xdocs/faq.xml b/doc/xdocs/faq.xml deleted file mode 100644 index a074913b57..0000000000 --- a/doc/xdocs/faq.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - Acegi FAQ - - - - -
-

- This document attempts to answer some of the more frequently asked - questions regarding various aspects of JBoss. These questions are - typically asked over and over again on the mailing lists and forums. As a - courtesy to the developers, we ask that you read this document - before posting to the mailing lists. -

-

- General -

-
    -
  1. - - What is Acegi? - -
  2. -
- -

- More FAQs ... -

- - -
-
-
- - What is Acegi? - -
-
- ... -
-
-
-
- -
diff --git a/doc/xdocs/navigation.xml b/doc/xdocs/navigation.xml index 29f855834b..895dc180dd 100644 --- a/doc/xdocs/navigation.xml +++ b/doc/xdocs/navigation.xml @@ -1,5 +1,25 @@ + + @@ -8,8 +28,10 @@ - - + + + + diff --git a/doc/xdocs/reference.xml b/doc/xdocs/reference.xml new file mode 100644 index 0000000000..74963be47d --- /dev/null +++ b/doc/xdocs/reference.xml @@ -0,0 +1,59 @@ + + + + + + + + Reference Documentation + + + +
+ + + + + + + + + + + + + + + +
DocumentDescription
+ Reference Guide HTML + + The original docbook-generated reference. This is a good place to start if you want + to use the Acegi System to secure your applications. +
+ Reference Guide PDF + + The pdf version of the reference guide. +
+
+
+ +
diff --git a/doc/xdocs/reference/index.xml b/doc/xdocs/reference/index.xml deleted file mode 100644 index 143e6ffdcd..0000000000 --- a/doc/xdocs/reference/index.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Reference Documentation - - - -
- - - - - - - - - - -
DocumentDescription
Reference Guide - The original docbook-generated reference. This is a good place to start if you want - to use the Acegi System to secure your applications. -
-
-
- -
diff --git a/doc/xdocs/start/build.xml b/doc/xdocs/start/build.xml deleted file mode 100644 index 6cddbd17ee..0000000000 --- a/doc/xdocs/start/build.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Building Acegi - - - -
-

- TODO: Checkout the source from Sourceforge... -

- - -

- The first thing to do if you want to use Maven is download and install it. - The build has been tested with version 1-rc3 so use this or a later version if possible. -

-

- One of the main differences between Maven and plain ant is that Maven manages - external dependencies for your projects and (at least in theory) you should no - longer have to store third-party jar files in your CVS tree. It maintains a local repository of - versioned libraries and shares them between your Maven projects. If it can't find the necessary - files there it will attempt to download them from the main Maven repository at www.ibiblio.org/maven. - So to use the Maven build, you need to have a network connection available for the inital download of - the project dependencies (and any others that Maven itself requires). -

-

- Once you have Maven installed, building the project should be as simple as typing "maven jar" - from the command line. Providing there are no failures in the test suite, this will create the - project jar files in the "target" directory. For more information on using Maven, have a look at the - Maven web site. -

-
- -
- -
diff --git a/doc/xdocs/start/download.xml b/doc/xdocs/start/download.xml deleted file mode 100644 index fbf32652b1..0000000000 --- a/doc/xdocs/start/download.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Downloading Acegi - - - -
- -

- You can downloade the latest release from the - Sourceforge project site. -

- -
- -
diff --git a/doc/xdocs/start/index.xml b/doc/xdocs/start/index.xml deleted file mode 100644 index fc19bd4b07..0000000000 --- a/doc/xdocs/start/index.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Getting Started with Acegi - - - -
- - - - - - - -
DocumentDescription
Download - Before you can start using Acegi, you'll have - to download the distribution to your system (unless - you plan on building the project from source). This document - provides links to the various distributions available. -
-
-
- -
diff --git a/doc/xdocs/status.xml b/doc/xdocs/status.xml deleted file mode 100644 index 3414764cd6..0000000000 --- a/doc/xdocs/status.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - News and Status - - - -
- - -

- The next release of Acegi will be version 0.6. -

-
- - -

- Version 0.51 released. -

-
- - -

- Version 0.5 released. -

-
- - -

- Version 0.4 released. -

-
- - -

- Version 0.3 released. -

-
-
- -