Enabling Push Notifications for Mobile Application
The email notifications for Command, Connection, and SAPM approval requests can also be sent as push notifications to the Kron PAM mobile application. The users must log in to Kron PAM at least once via their mobile application to receive these notifications.
To enable push notifications for mobile applications in the Administration GUI:
- Navigate to Administration > Jobs Scheduler
- Click the +Add button.
- Select SCPolicyNotifierJob as the Job
- Fill in the fields, Trigger Name and Cron Expression.
- On the Active field select Enabled to enable the job and click Add Trigger.
- Select SendPushMessageJob as the Job
- Fill in the fields, Trigger Name and Cron Expression.
- On the Active field select Enabled to enable the job and click Add Trigger.
- Navigate to Administration > System Config Man.
- Set the “mobile.tomcat.url” parameter as “https://KronPAM_IPAddress:9443/mobile-api/rest”
- Set the “max.push.count.to.send.in.one.time” parameter as “100” and click Save
- When mobile-api server (e.g., 10.20.42.42) is different from the KronPAM server (e.g., 10.20.42.41), it is necessary to add the "internal.bind.host" parameter to conf/application.properties file of KronPAM server as shown below:
After these settings are in place, the users will start getting mobile notifications for the cases stated above. For the configurations of each case, please refer to the related sections.
Parameter Name | Description | Parameter Value Examples |
aioc.push.notification.message.title.template.connection.approval | The title of the message to be sent to the approver for a connection approval | Kron |
aioc.push.notification.message.title.template.connection.expire | The title of the expiration message is to be sent to the approver after a connection approval workflow step expires. | Text |
aioc.push.notification.message.title.template.connection.expire.request.owner | The title of the expiration message is to be sent to the request owner after a connection approval workflow step expires. | Text |
aioc.push.notification.message.body.template.connection.approval | The body of the message to be sent to the approver for a connection approval | You have pending approval for connecting device ${deviceName}. Requested by: ${username}, with reason: ${reason} |
aioc.push.notification.message.body.template.connection.expire | The body of the expiration message is to be sent to the approver after a connection approval workflow step expires. | Text |
aioc.push.notification.message.body.template.connection.expire.request.owner | The body of the expiration message is to be sent to the request owner after a connection approval workflow step expires. | Text |
aioc.push.notification.message.title.template.command.approval | The title of the message to be sent to the approver for command approval | Kron |
aioc.push.notification.message.title.template.command.expire | The title of the expiration message is to be sent to the approver after a command approval workflow step expires. | Text |
aioc.push.notification.message.title.template.command.expire.request.owner | The title of the expiration message is to be sent to the request owner after a command approval workflow step expires. | Text |
aioc.push.notification.message.body.template.command.approval | The body of the message is to be sent to the approver for command approval | You have pending approval for running a command device ${deviceName}. Requested by: ${username}, with reason: ${reason} |
aioc.push.notification.message.body.template.command.expire | The body of the expiration message is to be sent to the approver after a command approval workflow step expires. | Text |
aioc.push.notification.message.body.template.command.expire.request.owner | The body of the expiration message is to be sent to the request owner after a command approval workflow step expires. | Text |
aioc.push.notification.message.title.template.sapm.approval | The title of the message to be sent to the approver for SAPM approval | Text |
aioc.push.notification.message.body.template.sapm.approval | The body of the message to be sent to the approver for SAPM approval | Text |
aioc.push.notification.message.body.template.sapm.approval.static | The body of the message to be sent to the approver for Static SAPM account approval | You have pending approval for Static SAPM account name:${sapmUsername}. Requested by:${username} |
aioc.push.notification.message.title.template.sapm.second.level.approval | The title of the message to be sent to the approver for SAPM second-level approval | Text |
aioc.push.notification.message.body.template.sapm.second.level.approval | The body of the message to be sent to the approver for SAPM second-level approval | Text |
aioc.push.notification.message.body.template.sapm.second.level.approval.static | The body of the message to be sent to the approver for Static SAPM account second-level approval | You have pending second-level approval for Static SAPM account name:${sapmUsername}. Requested by:${username} |