Access denied error while running the RSA Authentication Manager 8.x Administration SDK
Originally Published: 2020-02-06
Article Number
Applies To
RSA Product/Service Type: Authentication Manager SDK
RSA Version/Condition: 8.x
Issue
ERROR: com.rsa.authn.AuthenticationCommandException: Access Denied
at com.rsa.authn.AuthenticatedTargetImpl.login(AuthenticatedTargetImpl.java:172)
at com.rsa.command.ConnectionFactory$ConnectionImpl.connect(ConnectionFactory.java:758)
at com.rsa.command.ConnectionFactory$ConnectionImpl.connect(ConnectionFactory.java:740)
at com.rsa.samples.admin.AdminAPIDemos.main(AdminAPIDemos.java:1373)
Cause
- The Security Console administrator is not a member of the internal database, but rather, belongs to an external identity source.
- The user entered invalid Security Console login credentials, such as an invalid username or password.
Resolution
Create a super admin in the internal database
- Log in to the Security Console with a super admin user.
- Go to Identity > Users > Add New.
- Create a user by filling out all required fields and other details, if needed.
- Click Save.
- Go to Administration > Administrative Roles > Manage Existing.
- Scroll to SuperAdminRole and from the context arrow, select Assign More.
- Search for the new user created in step 3.
- Place a check in the box next to the user ID and click Assign to Role.
Submit the correct credentials into the SDK
If you are using the SDK sample code as discussed in 000034753 - Configure RSA Authentication Manager 8.x software developer kit (SDK), then the Program Arguments consists of three inputs, which are separated by spaces. The first input is the action (for example, create, assign, list-users, etc.). The second is the name of the new super admin created above. The third input is that user's password. For example,[Program Arguments] list-users superadmin P@55w0rd
Notes
Related Articles
?KMClient: Error getting key from KMS: Error from server: Access Denied? 28Number of Views Error 2004: Unable to communicate with server Access Denied when running RSA Authentication Manager Bulk Admin (AMBA) script 218Number of Views RSA Identity Governance and Lifecycle - IBM Notes Connector Datasheet 12Number of Views RSA Authenticator 4.3 for iOS and Android Quick Start Guide (Italian) 3Number of Views Access denied error when running sync-tokens command in Authentication Manager 8.x 296Number of Views
Trending Articles
RSA Authentication Manager 8.9 Release Notes (January 2026) RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA-2026-07: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities Downloading RSA Authentication Manager license files or RSA Software token seed records RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?