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
Configure Token Settings 28Number of Views RSA SecurID Authenticator 6.0 and 6.1 for Windows fails to import aCT-KIP URL 70Number of Views Error Authentication Manager is unable to activate your selected certificate at this time. Ensure that all Authentication … 11Number of Views Is RSA AA compliant with Federal Act 508 54Number of Views Why do tokens disappear from RSA ACE/Server database when replacement token is activated? 32Number of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA SecurID Software Token 5.0.3 for Microsoft Windows Release Notes RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide View Transfer Tokens to Cloud Jobs