securityDomain |
![]() ![]() ![]() |
MoreMotion Security component requires a Security Domain is configured with securityDomain configuration element.
The name of the security domain must be unique in the whole MoreMotion configuration. If there is only one security domain in the application it name can be defaulted to "main". Nested Elements broker (Accepts MScript) The name of a security broker configured with securityBroker element. conn (Accepts MScript) Security Brokers usually require a JDBC connection. If that is the case, specify the name of a JDBC Configuration configured with jdbcConnection element. cookie.opt (Accepts MScript) Defines the option for handling the states of the users that were logged in to the system previously. The options are:
cookie.age (Accepts MScript) Specifies the age of the cookie in seconds. fla.maxtry (Accepts MScript) Defines how many wrong passwords can be given one after another. Value 0 means that there is no limit. If a value greater than 0 is defined and the user exceeds this value then the user is suspended for the time period which is defined with "Suspend Duration" property. fla.suspend (Accepts MScript) The value of this parameter becomes effective if a value greater than 0 is given to the fla.maxtry parameter. If a user enters wrong password more than maksimum tries value he will not be able to login for the time period defined in this property. After the time is up he can retry again. The Security Component provides a standard procedure to recover the forgotten passwords. The SML function SendResetPasswordMail() sends the user an email that contains a change password link. The required STMP account and mail settings are defined with the following properties. fpmail.enckey (Accepts MScript) The key that is used when encrypting the link to the reset password page. fpmail.smtp.host (Accepts MScript) SMTP Host Name fpmail.smtp.port (Accepts MScript) SMTP Account Port Number fpmail.smtp.user (Accepts MScript) SMTP Account User Name fpmail.smtp.password (Accepts MScript) SMTP Account User Password fpmail.smtp.auth (Accepts MScript) SMTP Account Authentication required flag fpmail.subject (Accepts MScript) The subject of the mail fpmail.mailtext (Accepts MScript) The text of the Mail. There has to be a "{CHANGE_PASSWORD_LINK}" definition in the mail text that will be resolved to a link to the reset password page
|