From c5d6ae7b554b087dd07d1df2b22df986ed1c437d Mon Sep 17 00:00:00 2001 From: Mark Donnelly Date: Mon, 20 Oct 2014 22:09:01 -0400 Subject: [PATCH] Update the tester page to add init_sec_context and acquire_cred spaces. * Change the callback signature from the response dispatcher * Change the tester page to add space for acquire cred * Change the tester page to add space for init sec context * Fill in the GSS names underneath acquire_cred and init_sec_context upon successful gss name importing --- chrome/app/navigator.gss.js | 2 +- chrome/test/test.html | 131 ++++++++++++++++++++++++++++++++++++++------ 2 files changed, 115 insertions(+), 18 deletions(-) diff --git a/chrome/app/navigator.gss.js b/chrome/app/navigator.gss.js index 01ad32e..e8e79ca 100644 --- a/chrome/app/navigator.gss.js +++ b/chrome/app/navigator.gss.js @@ -68,7 +68,7 @@ var GSSEap = (function () app_tag); } else { if ("gss_import_name" == method) - { callback(event.data.return_values.gss_name, app_tag); } + { callback(event.data.return_values, app_tag); } // if( "gss_X" == method ) { callback(event.data.return_values.x, app_tag);} } }; diff --git a/chrome/test/test.html b/chrome/test/test.html index f9eef1e..e2f9977 100644 --- a/chrome/test/test.html +++ b/chrome/test/test.html @@ -1,14 +1,119 @@ GSSApi Tester Application + + + + + + + + + +
+
+ +

GSS Import Name

+
+ + +
+
+ + +
+ +
+
+ + +
+ +

GSS Acquire Cred

+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +

GSS Init Sec Context

+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+ + + + + + + + - - -

GSS Import Name parameters:

- - -
- - -
- -
-
+ -- 2.1.4