bugfix: keystore problem in aglets-2.0b0
Status: Beta
Brought to you by:
cat4hire
if someone uses a keystore other than the default
keystore (which is of type 'jks') an exception is
thrown when trying to initialize the Aglet runtime.
(= when trying to start Tahiti, or any custom aglet
context).
the bug is in com.ibm.aglets.AgletRuntime.java
I fixed the bug changing line 754 from
_keyStore = KeyStore.getInstance("jks");
to
_keyStore = KeyStore.getInstance
(KeyStore.getDefaultType());
Now the aglets framework can work with any type
of keystore (including "jceks")
(provided of course that the security provider for
the keystore type has been configured in the
java.security file)
Andreas Pashalidis
Logged In: YES
user_id=89739
Patch applied. Rev. 1.2 of AgletsRuntime.java