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 66Number of Views Is RSA AA compliant with Federal Act 508 54Number of Views Error: 'Cannot activate this token. There is no outstanding request that matches the userID and activation code' 151Number of Views How to query a public database schema table for Segregation of Duties (SOD) violations in RSA Identity Governance & Lifecycle 101Number of Views
Trending Articles
RSA Authentication Manager Upgrade Process RSA Release Notes for RSA Authentication Manager 8.8 RSA RADIUS Server service failed to start in the RSA Authentication Manager 8.1 Operations Console Microsoft Entra ID External MFA - Relying Party Configuration Using OIDC - RSA Ready Implementation Guide RSA Release Notes: Cloud Access Service and RSA Authenticators