javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/install/steps/AuthenticateJar.java
branchRCL_3
changeset 66 2455ef1f5bbc
parent 65 ae942d28ec0e
child 71 d5e927d5853b
--- a/javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/install/steps/AuthenticateJar.java	Tue Aug 31 15:09:22 2010 +0300
+++ b/javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/install/steps/AuthenticateJar.java	Wed Sep 01 12:33:18 2010 +0100
@@ -35,12 +35,12 @@
         }
 
         ball.log("Authenticating Jar...");
-        ball.iAuthenticationCredentials =
-            AuthenticationModule.getInstance().authenticateJar
-            (ball.iSuite.getUid(),
-             (ball.iOldSuite != null? ball.iOldSuite.getUid(): null),
-             ball.iJarFilename,
-             (ball.iSuite.getContentInfo() == SuiteInfo.CONTENT_INFO_DRM? true: false));
+        AuthenticationModule.getInstance().authenticateJar
+        (ball.iStorageHandler.getSession(),
+         ball.iSuite.getUid(),
+         (ball.iOldSuite != null? ball.iOldSuite.getUid(): null),
+         ball.iJarFilename,
+         (ball.iSuite.getContentInfo() == SuiteInfo.CONTENT_INFO_DRM? true: false));
         ball.iJarAuthenticated = true;
         // Unregister OCSP listener after Jar authentication.
         AuthenticationModule.getInstance().unregisterOcspEventListener(