*******************************************************************************
*                                                                             *
*                        The JASMINe control node                             *
*                                                                             *
*******************************************************************************

The JASMINe control node is the server on which runs JASMINe modules.

This server runs on top of the JOnAS application server.

Here are provided configuration files and resources for JOnAS, 
  that JASMINe needs.


********************
* Easybeans
********************

Easybeans is the EJB3 container used in JOnAS.
Some of the JASMINe modules are EJB3's, so your server needs to run an 
  Easybeans instance.
JASMINe can be ran on JOnAS 5.x and 4.x

JOnAS 5.x embeds, by default, the Easybeans container.

But, not JOnAS 4.x. So you need to install the Easybeans resource adapter 
  for JOnAS.
There are 3 resource adapters of Easybeans, depending on the persistence 
  provider (hibernate, toplink, openjpa). Here, we provide the Hibernate one.

The other ones can be downloaded at 
  http://www.easybeans.net/xwiki/bin/view/Main/Downloads

To install Easybeans, you just have to copy the file
  easybeans-rar_for_jonas-<persitence_provider>-x.y.z.rar in the directory
  $JONAS_BASE/rars/autoload
  
********************
* Security
********************

JASMINe use the Java Authentication and Authorization Service (JAAS) 
  for security purpose.
  
This service has to be configured on JOnAS. You can refer to the JOnAS
  configuration guide.

JOnAS 4.8.x :
http://jonas.objectweb.org/current/doc/doc-en/integrated/configuration_guide.html#config.security
http://jonas.objectweb.org/current/doc/doc-en/integrated/configuration_guide.html#N10BF8

JOnAS 5.x : 
http://jonas.objectweb.org/JONAS_5_0_4/doc/doc-en/html/configuration_guide.html#security.config
http://jonas.objectweb.org/JONAS_5_0_4/doc/doc-en/html/configuration_guide.html#services.security.config

Here is the entries added in the jonas-realm.xml provided in this 
  distribution : 

<jonas-memoryrealm>
  <memoryrealm name="memrlm_1">
    <roles>
      ...
      <role name="jasmine" description="JASMINe role" />
    </roles>
    <groups>
      ...
      <group name="jasmine" roles="jasmine"
         description="Authorized to use JASMINe features" />
    </groups>
    <users>
      ...
      <user name="jasmine" password="jasmine" roles="jasmine" />
    </users>
  </memoryrealm>
</jonas-memoryrealm>

You can add users (using the role jasmine) and modify password.
If you change memoryreal name, you have to modify it in jass.config 
  (used by clients which want to authenticate) file too.
  
  
********************
* JMS
********************

