ontomde-demo-acegi
by stephane (pierre) Carrie
http://ontomde.rubyforge.org/

== DESCRIPTION:

This is a demonstration project for our acegi integration

== FEATURES:

Generates a webapp with built in security:
* Authentification
* Access rights based on declared groups and roles.
* Access rights based on runtime rules.

Security provided by this demonstration is fully customisable.

== SYNOPSIS:
=== INSTALLATION:
1) download and install a ruby distribution (>=1.8.6)
( http://rubyforge.org/frs/?group_id=167&release_id=17128 )
2) update ruby plateform
$ set HTTP_PROXY=http://yourproxy:yourport (in case you need one)
$ gem update --system
3) install ontomde
$ set HTTP_PROXY=http://yourproxy:yourport (in case you need one)
$ gem install ontomde

=== RUN DEMONSTRATION:

unpack webapp ressources:
$ 1-unpack.bat (or .sh under cygwin or linux)

generate source code from UML model in mda/src/main/model
$ 2-generate.bat

Start webapp with security disabled (to setup an admin users)
$ 3-start-webapp-nosecurity.bat

Start webapp with security enabled
$ 4-start-webapp.bat

=== Create your own uml model
This is modeler dependent. Please refer to the section that applies:

====CREATE YOUR OWN UML MODEL (Objecteering users)
1) download and install export plugin for objecteering on ontomde.rubyforge.org
2) create a ontomde workproduct at the root of your project
3) select src/main/model/model.emx.nt as target for your workproduct.
4) run generate on your workproduct.
(this will update model.emx.nt file)
5) generate & compile project using initial method.

====CREATE YOUR OWN UML MODEL (Sparx system, XMI)
--> This featured is planned for Q2-2008
1) export your project as self-containted XMI export file

== LICENSE:

Copyright (C) 2008 Orange-labs
38 rue General Leclerc
92130 ISSY LES MOULINEAUX, France

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see http://www.gnu.org/licenses/.