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
After downloading the .zip file for any 8.x RSA Authentication API from RSA SecurID Downloads :
- 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
How to enable authentication by Primary RSA ACE/Server from Agent Host; How to troubleshooting Primary Name Resolution 24Number of Views After changing RSA Authentication Manager 8.X virtual host information CT-KIP token provisioning fails. 119Number of Views How to change the AveksaAdmin password in RSA Identity Governance & Lifecycle 401Number of Views Steps to change the internal subnets in RSA Authentication Manager used for an embedded RSA Identity Router 1KNumber of Views Howto: Change the Master Encryption Key Storage Directory in RSA Identity Governance and Lifecycle (IGL) 105Number of Views
Trending Articles
RSA Authentication Manager 8.9 Setup and Configuration Guide How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA Authentication Manager 8.9 Release Notes (January 2026) Configure RSA Authentication Manager as a Secure Proxy Server for Cloud Access Service RSA Authentication Manager Upgrade Process
Don't see what you're looking for?