timvanginderen / eid-applet

Automatically exported from code.google.com/p/eid-applet
Other
0 stars 0 forks source link

empty "Request Authentication" popup before signing document #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I try to use the applet to sign a document:
After popup with message "Please insert a smart card", after smart card is 
inserted, I get an empty "Request Authentication" popup with message 
"Identification required. Please select certificate to be used for 
authentication."

After clicking on the [Cancel] button, the signing of the document continues 
without any problems.

What is the expected output? What do you see instead?

No "Request Authentication" popup is expected (since it is empty). What is the 
meaning of this popup and how can this popup be avoided?

What version of the product are you using? On what operating system?
- applet version: 1.0.5.GA
- Operating System: Win7
- Server Weblogic 11g

Please provide any additional information below:

This is the applet script:

<script src="https://www.java.com/js/deployJava.js"></script>
<script>
  var attributes = {
     code : 'be.fedict.eid.applet.Applet.class',
     archive : 'eid-applet-package-1.0.5.GA.jar',
     width : 400,
     height : 300,
     mayscript :'true'
  };
  var parameters = {
     TargetPage : 'javascript:alert("Hello World");',
     AppletService : 'applet-service;jsessionid=<%=session.getId()%>',
     BackgroundColor : '#ffffff'
  }; 
  var version = '1.6';
  deployJava.runApplet(attributes, parameters, version);
</script>   

Servlet config in web.xml:

<servlet>
    <servlet-name>AppletServiceServlet</servlet-name>
    <servlet-class>be.fedict.eid.applet.service.AppletServiceServlet</servlet-class>
     <init-param>
        <param-name>SignatureService</param-name>
        <param-value>ejb/EidSignatureService</param-value>
     </init-param>
     <init-param>
        <param-name>IncludeCertificates</param-name>
        <param-value>false</param-value>
     </init-param>
     <init-param>
        <param-name>SkipSecureConnectionCheck</param-name>
        <param-value>true</param-value>
    </init-param>
  </servlet>

Original issue reported on code.google.com by dominiqu...@gmail.com on 19 Mar 2013 at 4:07

Attachments:

GoogleCodeExporter commented 8 years ago
Cannot reproduce.

Original comment by frank.co...@gmail.com on 13 Sep 2014 at 8:01