AnsweredAssumed Answered

Adding token attribute in Java using the RSA AM 8.1 API

Question asked by Ran Yohai on Feb 25, 2018
Latest reply on Feb 28, 2018 by Edward Davis

Hi

 

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();
def.setAttrName(attributeName);
AddAMAttributeDefinitionCommand addDef = new AddAMAttributeDefinitionCommand(def);
addDef.execute();

 

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,

Ran

Outcomes