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 72Number of Views Is RSA AA compliant with Federal Act 508 54Number of Views In RSA Identity Governance & Lifecycle, a SQL exception error in the UI is encountered when saving Delay node on a Workflow 121Number of Views Absolute Secure Access - RSA Ready Implementation Guide 45Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Governance & Lifecycle 8.0.0 Installation Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA MFA Agent for UNIX Platform Support Matrix Performing RADIUS authentication tests with NTRadPing to RSA Authentication Manager