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
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.
Ted