Security settings, Logo and other customisation for mobile app

Security settings, Logo and other customisation for mobile app

Requirement: 

      Security settings for mobile app is waiting for release in 14830 build version. In addition to this, server side support for separate logo for mobile app is currently under development. Meanwhile, customers are requesting customisations for other areas in the mobile app (say, Landing page after user login needs to be customised). To support all these (irrespective of server version), we have come up with a workaround.

Workaround:

      The required settings are read from a properties file and shared to mobile app in "api/v3/app_resources/properties" (non-login call) api call. Please follow the below steps for this

1. Place the attached mobileappconfig.properties file under ServiceDesk/conf/ folder
2. Place the attached fjar under ServiceDesk/fixes/ folder (Download the fjar file according to the customer build number). If folder isn't available, create one under "ServiceDesk" folder.
3. Restart the service after placing the fjar file.
4. The configured custom properties should be available in the above api call.

Details of the properties file.
  1. #Security related properties are set here. DONOT enter any properties here as these are default properties
    security_allow_paste_option=true
    security_allow_attachment_operations=true
    security_allow_screen_captures=true

    #All custom properties should be entered below with the prefix "custom_". These properties will be returned in api/v3/app_resources/properties under "custom_props" key
    custom_landing_page=Template

    #Place the logo for Mobile under /custom/customimages/ folder with name "Custom_MobileLogo" and extension as png / jpg / jpeg / gif. Enter the extension of the logo file in the below property. If the logo file present, the relative logo url will be returned under "logo_url" key
    custom_logo_extension=png

Sample response:

  1. {
  2.   "result": {
  3.     "logo_url": "/custom/customimages/Custom_MobileLogo.png",
  4.     "security_props": {
  5.       "allow_paste_option": "true",
  6.       "allow_attachment_operations": "true",
  7.       "allow_screen_captures": "true"
  8.     },
  9.     "login_props": {.....},
  10.       "v3_header_supported": true,
  11.       "dynamic_user_addition": true,
  12.       "domain_props": {
  13.         "domain_filtering": false,
  14.         "domain_listing": true,
  15.         "domains_list": []
  16.       },
  17.       "password_encryption": {
  18.         "is_enabled": true,
  19.         "public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4kctn+UsbRERdMtlfZ9UQ0uOoxXCc5I1zXOJOBbIAINME9QzXuY0vL+TRQBGdVDViCCHQ57LEJXWx2sXzoM2bqBt1eVhtQ6wwFfZMgADY4bffPhW4zWb1EnHMPCk0l1kh8wHN+RFf8Q7HkB4qsNA6OIRWfvt339ifIZw08iNp2/c+Pj58GsgIFmsBSPw7b2Coc/ZfsxcbH5e0U7oGLKSJXsFYKwRGWKCg/xSTnkVkbCLe0Lcj5YzI/DbBpR6lonv61Qnr00N/tMh7MP0/T817T3A2cgnjlVyebnOMYLrt2ba4HnD0JbJJlXAPLmIkAYoWDOm7D1uuURHGeeJGGCkSQIDAQAB",
  20.         "algorithm_info": {
  21.           "transformation": "fips_compatible"
  22.         }
  23.       },
  24.       "product_info": {
  25.         "release_number": "14.8",
  26.         "product_name": "AdventNet ManageEngine ServiceDesk Plus"
  27.       },
  28.       "forgot_password": {
  29.         "is_enabled": true
  30.       }
  31.     },
  32.     "custom_props": {
  33.       "landing_page": "Template"
  34.     }
  35.   },
  36.   "response_status": {
  37.     "status_code": 2000,
  38.     "status": "success"
  39.   }
  40. }

Fjar details:

Server build version
Fjar file name
14501
custom_mobile_14501.fjar