Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost:3306/hcer?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=<username>
jdbc.default.password=<password>

Adding eID functionality

In order to provide eID functionality in the Point-of-Care (PoC), add the jnlp folder to your Liferay's tomcat-X.Y.ZZ/webapps folder. This folder should have the following content:

Code Block
/jnlp
	|-- /img
		|-- openecard-default.png
		|-- openecard-shortcut-linux.png
		|-- openecard-shortcut-mac.icns
		|-- openecard-shortcut-win.ico
		+-- openecard-splash.png
	|-- richclient-X.Y.Z.jar
	+-- openecard.jnlp	

In each new version of the eID artifacts, the contents of the folder should be updated (the most important ones being the JAR file and the JNLP file). The JAR file can be found in Joinup (section 3.1 of the installation manual page). The JNLP can only be found in OpenNCP Bitbucket. You can download the folder contents here:

Attachments
uploadfalse
oldfalse
patternsjnlp.tar.gz

You'll need to edit the JNLP file in order to point it to the location of the deployed JNLP folder:

Code Block
<jnlp version="2015-11-24" codebase="http://<LIFERAY_IP_ADDRESS>:<LIFERAY_PORT>/jnlp" href="openecard.jnlp" spec="1.6+">

LIFERAY_IP_ADDRESS should be replaced by the IP address of the machine running Liferay's Tomcat. Note: use exactly the IP address and not "localhost", because if you're running the PoC's browser in a different machine it'll make a request to download the JNLP file from "http://localhost/..." and it won't find it.

LIFERAY_PORT: should be replaced by the port where Liferay's Tomcat is listening (the port identified as YYYY in the first steps of this page).

Since the folder is located directly under Tomcat's webapps, it can be easily located by "/jnlp".

Countries providing eID capabilities for their patients at the country of treatment must update their InternationalSearchMask file to add the friendlyName attribute to the <id> tag(s) of the search fields (you can check the example file from Portugal, InternationalSearch_PT.xml, in epsos-configuration/forms folder). The complete list of values for this attribute is as follows (an example from eID level 1 source code can be seen here):

  • cardIssuerCountry
  • cardType

  • healthInsuranceId

  • surname

  • givenName

  • dateOfBirth

  • gender

  • fiscalNumber

  • socialSecurityNumber

  • civilianIdNumber

  • issueDate

  • terminationDate

  • photo

Tip

Currently, eID only works for smart cards from the following countries: Portugal, Luxembourg, Italy, Greece, Austria and Spain. In order to electronically identify a patient from any other country, that country must provide sample cards to the community first, so that OpenNCP can be enhanced.

Warning
titleRequirements

In order to run the eID client you'll need to have Oracle's Java WS installed. It doesn't work with OpenJDK IcedTea.

Following is a video demonstration of eID level 1:

Widget Connectorurlhttps://www.youtube.com/watch?v=O1fy_PDbGaATo add eID capabilities to the Portal please refer to Smartcard-based eID integration into OpenNCP - 3. Deployment.

 

Post Install Configuration

...