Installation note
To run the sample program, several components have to be installed
before:
- JDK 2 v1.3
- the Commapi which manages the serial port
- the Open Card Framwork (OCF) to communicate with smart card
- the gemplus CardTerminal & the GPK CardServices to
communicate with Gemplus smart card readers and GPK card
- the JAAS package
- the Cryptix JCE
In the java.security file you must add the following entry:
security.provider.3=cryptix.jce.provider.Cryptix
Assuming you are currently residing in the smartjaas
directory, the sample program can be invoked with the relevant
system properties via the command line by using the following command.
It has been divided into multiple lines for easier readability.
On Windows systems:
java -classpath SCJaas.jar;SCLaunch.jar;SCModule.jar
-Djava.security.policy==config\SC_java2.policy
-Djava.security.auth.policy==config\SC_jaas.policy
-Djava.security.auth.login.config==config\SC_jaas.config scjaas.SCJaas
On Unix systems:
java -classpath SCJaas.jar:SCLaunch.jar:SCModule.jar
-Djava.security.policy==config/SC_java2.policy
-Djava.security.auth.policy==config/SC_jaas.policy
-Djava.security.auth.login.config==config/SC_jaas.config scjaas.SCJaas
DON'T FORGET to modify your policy files in the config directory.
|