000022655 - How to programmatically delete a token seed file after importing via RSA SecurID Authentication Engine (SAE)

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000022655
Applies ToRSA SecurID Authentication Engine 2.1 for Java
IssueHow to programmatically delete a token seed file after importing via RSA SecurID Authentication Engine (SAE)
After utilizing the RSA SecurID Authentication Engine (SAE) function RSASAETokenImporter.loadTokensFromFile, the file cannot be deleted while the SAE application is still running
CauseThe loadTokensFromFile does not close the file after it is done reading in the token records
ResolutionThis issue is resolved in a hot fix for RSA SecurID Authentication Engine. Contact RSA Security Customer Support to obtain hot fix 23231.
NotesAdded June 23, 2015, example of importing Token Seeds in SAE v. 2.8.1 with HFs
 


C:\disk\doc\bugs\SAE-774>ls -R
ls -R
.:
30615161_700_1_TOKEN.xml
classes
lib
sample
sid820_10_sw_token_expire_31jan2016_MKT0019.XML
./classes:
Ser.class
sample
./classes/sample:
AuthEngineDBUtil.class
AuthEngineRequest.class
AuthEngineTest.class
./lib:
RSASecurIDAuthenticationEngineAPI.jar
xercesImpl-2.9.1.jar
./sample:
AuthEngineDBUtil.java
AuthEngineRequest.java
AuthEngineTest.java
Ser.java
sid900pin.xml
C:\disk\doc\bugs\SAE-774>javac -cp "lib\RSASecurIDAuthenticationEngineAPI.jar;lib\xercesImpl-2.9.1.jar" -d classes sample\*.java
javac -cp "lib\RSASecurIDAuthenticationEngineAPI.jar;lib\xercesImpl-2.9.1.jar" -d classes sample\*.java
C:\disk\doc\bugs\SAE-774>java -cp "lib\RSASecurIDAuthenticationEngineAPI.jar;lib\xercesImpl-2.9.1.jar;classes" sample.AuthEngineTest
java -cp "lib\RSASecurIDAuthenticationEngineAPI.jar;lib\xercesImpl-2.9.1.jar;classes" sample.AuthEngineTest
AuthEngine Test....

Select one of the following Options :
1. Import XML token record file
10. Load first token record from database
12. Load token record from a string
99. Exit
Enter Choice (1-16)(99=Exit): 1
Enter input token record file: 30615161_700_1_TOKEN.xml
Enter Passphrase (Hit Enter if no passphrase required):
Number of tokens 2
Token Serial Number : 242144200
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : false
Token State : 0
Token Code Length : 6
Birth Date : 03/31/15 00:00
Death Date : 08/31/17 00:00
Large window seconds : 600
Medium window seconds: 120
Small window seconds: 60
Next tokencode mode threshold: 3
Token Serial Number : 242144201
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : false
Token State : 0
Token Code Length : 6
Birth Date : 03/31/15 00:00
Death Date : 08/31/17 00:00
Large window seconds : 600
Medium window seconds: 120
Small window seconds: 60
Next tokencode mode threshold: 3
list tokens success

Select one of the following Options :
1. Import XML token record file
2. Get Nth token data
10. Load first token record from database
12. Load token record from a string
99. Exit
Enter Choice (1-16)(99=Exit): 1
Enter input token record file: sid820_10_sw_token_expire_31jan2016_MKT0019.XML
Enter Passphrase (Hit Enter if no passphrase required):
Number of tokens 10
Token Serial Number : 31701832
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701833
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701834
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701835
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701836
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701837
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701838
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701839
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701840
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
Token Serial Number : 31701841
First Name :
Last Name :
Login :
Is Token Enabled? : false
Is Software Token : true
Token State : 0
Token Code Length : 8
Birth Date : 12/22/05 00:00
Death Date : 01/31/16 00:00
Large window seconds : 4320
Medium window seconds: 4320
Small window seconds: 630
Next tokencode mode threshold: 3
list tokens success

Select one of the following Options :
1. Import XML token record file
2. Get Nth token data
10. Load first token record from database
12. Load token record from a string
99. Exit
Enter Choice (1-16)(99=Exit): 99
Auth Engine test exiting...
C:\disk\doc\bugs\SAE-774>java -version
java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode)
C:\disk\doc\bugs\SAE-774>

Legacy Article IDa29677

Attachments

    Outcomes