Steps to change the RSA Authentication API 8.x Output Return Statements in the Sample Code
Originally Published: 2020-09-08
Article Number
Applies To
RSA Product/Service Type: Authentication Agent API
RSA Version/Condition: 8.x
Issue
- In case of an Authentication Failure:
Access Denied
- In New Pin Mode:
New Pin accepted; please login again with the new Pin.
- In case of a successful authentication:
Passcode Accepted Authentication successful
Some customers use the Sample Code that is provided as it is, so they just need to customize the Output coming from the Sample Code.
Resolution
- Extract the folder, then go to examples then sample.
- Edit the file that is called \examples/sample\AuthUser.java in the extracted folder, this is the file that the Sample Code runs and it contains the main method.
- At the very first beginning of the file, you will see all the return values being initialized, you can change it to whatever you need.
private static final String ACCESS_DENIED = "Access Denied"; private static final String PASSCODE_ACCEPTED = "Passcode Accepted"; private static final String PIN_REJECTED = "New Pin rejected"; private static final String PIN_ACCEPTED = "New Pin accepted; please login again with the new Pin."; private static final String GOOD_AUTH = "Authentication successful"; private static final String BAD_AUTH = "Authentication incomplete";
- Do not forget to Save the File.
Related Articles
Steps to enable SSL for on IIS 6.0 26Number of Views What are steps to use Microsoft CA with a SID800? 84Number of Views Steps to configure RSA Authentication Manager 58Number of Views Overview of steps to move Authentication Manager 8.1 production data to VMware ESX 6.0 172Number of Views View the Next Steps for Promotion for Maintenance 142Number of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Unable to login to RSA Authentication Manager Security Console as super admin Error Unable to resolve user by login ID and/or alias, or authenticator not assigned to user when attempting to authentica…
Don't see what you're looking for?