Capital Markets Adapters 10.3.1 | Apama Capital Markets Adapters Documentation 10.3.1 | EBS Spot Ai FIX Adapter | Password Management
 
Password Management
You can change the password using the interface:

PasswordChangeRequest("Connection Name", "RequestID",
"Username", "Old Pass", "New Pass");
If the "Password Expired" UserResponse is sent by the EBS server, then a PasswordChangeRequest is sent automatically by the by the FIX_EBS_Support.mon.
The FIX_EBS_Support.mon monitor routes a GetNewPassword("Connection Name", "Unique ID", "Old Pass") event. You can capture this event and generate a new password and send it back as:

NewPassword{"Connection Name", "Unique ID", "Old Pass", "New Pass")
If you do not handle it, a password will be automatically generated which will be printed in the correlator log.
As monitor doesn't store password in a particular file, user needs to setup separate listeners on com.apama.fix.ebs.PasswordChangeResponse. A sample monitor file is provided FIX_EBS_Support_Password.mon which will write changed password a file whose name is mentioned in extraParams of event com.apama.fix.ebs.UserLogonRequest. These fields include:
*AntPropertyFile : Name of file in which changed password is written
*AntPWProperty : Password is written in file in format "$Key:$password". This field should carry a name which can substituted in place of 'Key'.
Note:
This sample monitor is dependent on FileEvents.mon of File adapter.