Menu

#7 bugfix: keystore problem in aglets-2.0b0

closed-fixed
Security (2)
9
2002-01-03
2001-12-11
No

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

http://www.come.to/xrtc

Discussion

  • Andreas Pashalidis

    • priority: 5 --> 9
    • status: open --> open-fixed
     
  • Robert Bergstrom

    Logged In: YES
    user_id=89739

    Patch applied. Rev. 1.2 of AgletsRuntime.java

     
  • Robert Bergstrom

    • assigned_to: nobody --> kbd4hire
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.