Adding token attribute in Java using the RSA AM 8.1 API
I'm trying to add token attribute in java using the RSA Authentication Manager 8.1 API.
I've coded the following lines:
AMAttributeDefinitionDTO def = new AMAttributeDefinitionDTO();
AddAMAttributeDefinitionCommand addDef = new AddAMAttributeDefinitionCommand(def);
Last line throws me with the following error:
ERROR: com.rsa.command.exception.InvalidArgumentException: Required data is missing from command
What data is missing from the command?
Thanks in advance for any help,
- Cloud Auth
- Cloud Authentication
- Cloud Authentication Service
- Community Thread
- Forum Thread
- RSA SecurID
- RSA SecurID Access
Hi Ran - I didn't have time to try this out but the AMAttributeDefinitionDTO requires more than just a name based on the Javadoc.
See methods setAttrType, setAttrNumber, setDefaultValue, setMultiValued, setSecurityDomainGuid, and setCategory.
Thanks for replying.
After dealing with the code a little bit more, I figured out that adding a new token attribute definition is unnecessary to me.