Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

68142: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
      67640: MNT-11096: Merged DEV to V4.2-BUG-FIX (4.2.3)
         67391: MNT-11096: org.alfresco.error.AlfrescoRuntimeException Session timeout out of range (0 - 3600)
            - Do sessionTimeout validation in the CIFSConfigBean setter


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2014-04-30 16:15:52 +00:00
parent b60c0421ad
commit df7594460a
3 changed files with 18 additions and 3 deletions

View File

@@ -1123,8 +1123,7 @@ public class ServerConfigurationBean extends AbstractServerConfigurationBean imp
// Validate the session timeout value
if (tmo < 0 || tmo > MaxSessionTimeout)
throw new AlfrescoRuntimeException("Session timeout out of range (0 - " + MaxSessionTimeout + ")");
cifsConfigBean.validateSessionTimeout(tmo);
// Convert the session timeout to milliseconds