Running Login
The Login sample application logs in a roaming user.
To run this sample application, execute the following command line in the etjava/examples directory.
java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.roaming.Login <id> <pwd> <entrust.ini>|
Parameter |
Value |
|
<id> |
The identifier of the roaming user. |
|
<pwd> |
The password of the roaming user. |
|
<entrust.ini> |
The path of an Entrust initialization file with .ini extension. |
For example:
C:\Desktop\etjava\examples>java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.roaming.Login MyUser Passw0rd entrust.iniRoaming Sample application to demonstrate logging in to a Roaming Digital Identityuser id = MyUserpassword = Passw0rdentrust.ini = entrust.iniRoaming Login...Login completeGetting the verification certificate...Version: 3Serial number: 1062863635Signature algorithm: sha1WithRSAEncryptionIssuer: o=MyRoot,c=caValid not before: Mon Dec 06 13:07:14 EST 2004 not after: Thu Dec 06 13:37:14 EST 2007Subject: cn=MyUser MyUser,o=MyRoot,c=capublic exponent: 10001modulus: b051acc80af159f974acbd47f2e026e07c9286926fbaa7746c631f4f8078b5e66ff6e78ecdd6a4fbf45840044ac3e4d0571757efb1d9f928e921ef32d0a2a51d2acc6b65c694d10611edcc582268d32b2046e268a311ae898b800b0208be1b1b0f3071c9590f2574f0355927f1099dd63a39bf2a8e609f9b953a90ac6c76b715Extensions: 8Certificate Fingerprint: FA:22:59:EF:83:07:41:F4:86:63:11:68:C0:02:2D:17Getting the encryption certificate...Version: 3Serial number: 1062863634Signature algorithm: sha1WithRSAEncryptionIssuer: o=MyRoot,c=caValid not before: Mon Dec 06 13:07:14 EST 2004 not after: Thu Dec 06 13:37:14 EST 2007Subject: cn=MyUser MyUser,o=MyRoot,c=capublic exponent: 10001modulus: e90202402a1ad6496fd614a7a438fe80c5b5cc8b32e97fce1c7621740553148329e1ff65f6e9a25b2d8dbb68c0fb9024298f7555525e2b27b47c62b2fb079b17e8c7845101c73f86cb0f23488dc636f00c9a88909e7a8f2ca184091f4cadedce488614bc440274abf69020f7837459b3778cc43d708d11f037f5dbcf9e6e056dExtensions: 7Certificate Fingerprint: 21:15:00:3B:22:5E:9B:77:85:5D:73:40:BC:77:46:12