Ralasafe 1.2 was released

I’m happy to announce Ralasafe Access Control Middleware version 1.2 was released in Sep. 14, 2011.

This version mainly implements requirements from community, fixes bugs reported from community, and improves the privilege engine efficiency. The biggest change is: use FrontControl model to remove Ralasafe config from web.xml to /ralasafe/actions.xml. Developers get a more happy experience.

Ralasafe team will carry this rule: Save more time for lovers, families and friends.

Download files:

  1. Ralasafe with demo (mysql database)
  2. Ralasafe binary(without demo)
  3. Ralasafe source
Documents are written in wiki:

Ralasafe Demo Installation

How to get demo

There are two ways to get Ralasafe demo.

  1. Get source codes from SVN
  2. Download binary

The current release ralasafe demo version is 1.1(download from source forge). When a new version is released, we will update in download page.

Runtime environment

  1. Jdk 1.4+
  2. Web server likes tomcat
  3. Mysql database

Ralasafe supports popular databases. But ralasafe demo is build on mysql database.

Installation steps

If you install binary

If you are installing Ralasafe demo binary in tomcat, first create folder in $TOMCAT/webapps/. Then unzip ralasafe-demo.war to demo folder.

Import sql into database

Import sql/demo-mysql.sql to your mysql database. This script will create ralasafe and demo schemas, and import tables and data.

Datasource configuration

  1. Open WEB-INF/ralasafe/app-ds.properties, change jdbcUser and jdbcPassword to your database username and password;
  2. Open WEB-INF/ralasafe/ralasafe-db.properties, change jdbcUser and jdbcPassword to your database username and password;

Change web.xml parameter repositoryDir value

Open web.xml, search repositoryDir. Change its value from /home/julian/workspace/ralasafe/xml to the xml folder in your project(or ${TOMCAT}/webapps/demo/xml, replace ${TOMCAT} with actual tomcat installation path).

Run!

Run your web server,

  1. Browser Ralasafe web console: http://localhost:8080/${context}/ralasafe/designer (version 1.1), or http://localhost:8080/${context}/ralasafe/designer.rls (version in SVN and version 1.1+)
  2. Browser Ralasafe demo login page: http://localhost:8080/${context}/ralasafe/demo/login.jsp

Have fun!

Ralasafe Source

Ralasafe Access Control Middleware( short for Ralasafe ) is MIT licensed open sourced, and community driven development.

Source Url

Ralasafe source is hosted in sourceforge. SVN Url:https://ralasafe.svn.sourceforge.net/svnroot/ralasafe/ralasafe/, Or just view codes online: http://ralasafe.svn.sourceforge.net/viewvc/ralasafe/ralasafe/.

Build with ant

Fell free to download from SVN, and build with ant:

ant all

How to build project in eclipse

Eclipse supports creating a web project from svn. So just follow the wizard to create a new project.

These folders are source folders: client, constants-and-commons,demo,entitlement,for-client-interface,orm,src,user,util. All jars under folder lib should be set as project library and jee dependencies.

Other installation steps

I will write it next blog.