securityBroker Element

Top  Previous  Next

A Security Broker is a java class that implements MoreMotion's org.moremotion.security.broker.SecurityBroker interface. Its responsibility is to access to the storage where the security information is persisted.

A security broker class is configured in a global configuration file with a securityBroker element.

  <securityBroker name="">
    <class/>
    <rootUserName/>
    <adminRoleName/>
    <param/>
  </securityBroker>

The name of the security broker must be unique in the whole configuration. A security broker is referred by a securityDomain configuration element.

Nested Elements

class

The name of the class that implements org.moremotion.security.broker.SecurityBroker interface.

rootUserName

The name of the root user.

adminRoleName

The name of the administrator role.

param

The Security Broker specific parameter can be defined with this element.

 

Example:

  <securityBroker name="MySQL">
    <class>org.moremotion.mmcomp.security.RelDBSecurityBroker</class>
    <rootUserName>sa</rootUserName>
    <adminRoleName>SYS_ADM</adminRoleName>
    <param name="sqlPatternFile">mysql.bsp</param>
    <param name="debug">false</param>
  </securityBroker>