Securing the Application

Top  Previous  Next

The users of the "Super Store" web application are the employees (sales persons) of the company. To prevent the unauthorized access to the application we will define users, roles and check points in the MoreMotion Security System.

The access to the system will be possible only with a valid user name and a password. Therefore we will provide login / logout functionality on the web application.

Security Component

1.Open the "Common Definitions" Page if not already open (CTRL + F7)
2.Locate the "mor > Security > ReldbSecurityBroker" element on the library explorer and place it into the page.
3.Locate the "mor > Security > SecurityDomain" element on the library explorer and place it into the page.
4.Specify the element properties as follows:
 

 

Securitylib

reldbsecuritybroker_f4

SecurityDomain_pe

For Apache Derby

SQL Pattern File

derby.bsp

For MySQL

SQL Pattern File

mysql.bsp

For SQL Server

SQL Pattern File

sqlserver.bsp

For Oracle

SQL Pattern File

oracle.bsp

Schema

SUPERSTORE

Table Space

SUPERSTORE

 

Now the SuperStore application has a Security Domain configured. We can start with using the security component elements in the pages where necessary.

 

camera2

Watch how it's done