RSA Authentication Manager 8.1
Modified script looks like below:
private void distributeCTKIP(TokenDTO token, String inProfile, String inActCode)
throws InsufficientPrivilegeException, ConcurrentUpdateException, DataNotFoundException, Exception,
InvalidArgumentException, DuplicateDataException, ObjectInUseException, CommandException, SystemException{
String swtProGuid = getSWTProfileGuid(inProfile);
String tsn = token.getSerialNumber();
setSwtProfile(token, swtProGuid);
// GET TOKENDTO AGAIN
LookupTokenCommand ltc = new LookupTokenCommand();
ltc.setSerialNumber(tsn); // need token serial number
ltc.execute();
TokenDTO NewToken = ltc.getToken(); new token copy
token = null;
ltc.reset();
//
setCTKIPActCode(NewToken, inActCode);
getCTKIPActCode(NewToken, inActCode);
}
private void setCTKIPActCode(TokenDTO token, String inActCode)
throws InsufficientPrivilegeException, ConcurrentUpdateException, DataNotFoundException,
InvalidArgumentException, DuplicateDataException, ObjectInUseException, CommandException, SystemException{
CTKIPActivationCodeDTO ctkip = new CTKIPActivationCodeDTO();
ctkip.setTokenSerialNum(token.getSerialNumber());
ctkip.setActivationCode(inActCode);
token.setCtkipActivationCodeDTO(ctkip);
//token.setRowVersion(token.getRowVersion()+1); token this out
UpdateTokenCommand updateTok = new UpdateTokenCommand();
updateTok.setToken(token);
updateTok.execute();
}
Related Articles
Error: 'Cannot activate this token. There is no outstanding request that matches the userID and activation code' 152Number of Views Error Authentication Manager is unable to activate your selected certificate at this time. Ensure that all Authentication … 11Number of Views Activate a Virtual Host Certificate 50Number of Views Authentication Manager 8.x Wildcard Certificate Fails with 'Subject Name Does Not Match Hostname' 555Number of Views Unable to activate newly installed RSA SecurID software token on an iOS10 iPhone using Good Mail Client 195Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Manual synchronization introduced in RSA Authentication Manager 8.2 Service Pack 1 patch 6 Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory How to verify NTP server synchronization is not working in RSA Authentication Manager 8.x RSA Governance & Lifecycle 8.0.0 Installation Guide