000028042 - Retrieve all Administrative Permission Type values programmatically

Document created by RSA Customer Support Employee on Jun 15, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000028042
Applies ToAuthentication Manager 7.1 SDK
IssueRetrieve all Administrative Permission Type values programmatically
Invoking static method com.rsa.authmgr.common.PermissionType.getAllPermissionTypesasArray only returns the com.rsa.common.PermissionType permissions.
Resolution

Force the com.rsaauthmgr.commonPermissionType class to be loaded prior to invoking getAllPermissionTypesasArray():
For example:

...

com.rsa.authmgr.common.PermissionType.CREATE_TOKEN.getName();   //just causing the authmgr permission types class to load

com.rsa.common.PermissionType [] perms = com.rsa.authmgr.common.PermissionType.getAllPermissionTypesasArray();   //returns all permissions now


 

Legacy Article IDa48409

Attachments

    Outcomes