Skip to content

JensTimmerman/beidtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Belgian eid card test application
===================================
based on http://www.youtube.com/watch?v=x1dARGV_zEQ&html5=1

This is a "starter" application for getting started with developing web
applications in netbeans with the belgian eid card's.

makes use of the eid-applet (http://code.google.com/p/eid-applet/)
developers guide: http://code.google.com/p/eid-applet/downloads/detail?name=eid-applet-dev-guide-1.0.2.GA.pdf

all the magic is in the pom.xml...

just open this folder as a maven project in netbeans, start the application
(maven will download all necessities )
and browse to https://localhost:8181/beidtest/ to see it working

instructions for setting up glassfish with valid ssl certificates:
http://blogs.oracle.com/enterprisetechtips/entry/using_ssl_with_glassfish_v2

known issues
-------------
Tested in netbeans 6.9.1 with glassfish 3.0.1
And netbeans 7 with glassfish 3.1

The code from the video doesn't work with glassfish 3.1
(I got "ERROR: no session cookie detected!"  and "java.lang.RuntimeException: expected a protocol start message" )
use 3.0.1 instead from
http://dlc.sun.com.edgesuite.net/glassfish/3.0.1/release/

after installing this (run as administrator in windows)
go to the services tab in netbeans, richtclick servers, add server, glassfish server 3
and select the path where you installed glassfish.

this code includes a  workaround tested in glassfish 3.1
For AppletService appletparameter use something like:
      AppletService : 'identification;jsessionid=<%=session.getId()%>'
within your JSP page where the eID Applet gets loaded. 
from: http://groups.google.com/group/eid-applet/msg/2077fd906c570191

About

Belgian electronic id card webapp development in java

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages