General
Prefix Application
Defines a prefix for the applications that will be created by the security module. By default, the field is filled with the prefix app_.
This field is mandatory when creating the security module.
Folder
Defines the name of the folder that will be created in the project to group the applications created by the security generator. By default, the folder name is Security.
Enable Security
Defines whether the Use Security attribute will be enabled in the applications selected in the Insert Applications tab.
By default, applications generated by the security module have the Use Security option enabled.
Remember login
Enables the Remember me option at system login.
Example of the Remember Me feature
This feature stores user data in cookies, and allows them to return to the system even after closing the session. If the user has logged out, the cookie data is deleted and he or she will have to log in again.
Cookie expiration time
Defines the lifetime, in days, of the cookie that contains the access data of users who selected the Remember me option.
By default, Scriptcase sets the limit to 30 days.
When session expires
Determines system behavior when user session expires.
- No action: A message will be displayed, user not authorized, and an OK button to return to the login screen.
- Redirect to login: In this option the user will be redirected directly to the login screen.
- Display a message and redirect to login: An unauthorized user message will be displayed and you will be redirected to the login screen.
Theme
Defines the theme that will be used in applications created by the Security Module.
To add or remove themes from the select, access the Project > Properties menu, there you can add or remove themes for the project.
Log
Defines the log module that will be used in the system. Click here and check out how to create a Log Module.
Menu
Defines the menu application used to create the security item, which contains the applications generated by the module for system management.
This attribute is mandatory for module creation. If the project already has a menu application, they will be listed and can be used in creation. The developer can choose to create a new menu application using the option: Create application menu.
Menu orientation
Defines the orientation of the menu that will be created when selecting the Create application menu option in the Menu attribute.
If you select an existing menu, this attribute will be disabled
Menu theme
Determines the initial theme of the menu application that will be created when selecting the Create application menu option in the Menu attribute.
If you select an existing menu, this attribute will be disabled
Use SweetAlert
Use SweetAlert to display application messages. When enabled, this option will override the browser’s “confirm” and “alert” settings.