Difference between revisions of "NemID authetication"
old>Admin |
old>Admin |
||
Line 2: | Line 2: | ||
=== Authentication component === | === Authentication component === | ||
==== Install NemID component ==== | ==== Install NemID component ==== |
Revision as of 13:13, 13 December 2017
Setiing up NemID
Authentication component
Install NemID component
Copy the NemID.war file to <serverroot>
Check that the file is deployed succesfully
Get hold of your certificate
You will have received an email with credentials for issuing the company certificate:
Nets guide to certificate issuing (danish)
Choose "Java keystore" as certificate type and remember to write down the password.
Add certificate to NemID component
Upload the certificate to the server <webroot>/NemID/WEB-INF/classes/
Now edit <webroot>/NemID/WEB-INF/classes/nemid.properties
- nemid.applet.parameter.signing.keystore
- nemid.applet.parameter.signing.keystore.password
- nemid.applet.parameter.signing.keystore.alias
- nemid.applet.parameter.signing.keystore.keypassword
Both passwords is the one choosen earlier.
Set server reference to NemID component
Please check that you have an URL for the NemID component. Example:
/NemID/tslogin/log-ind-med-javascript.jsp
Now set server to the correct URL
- Log in to designer
- Select Modules > Configuration
- Find authenticationNemidService
- Update the URL
Configuring field mapping
Field mappings will copy values from the authenication process to fields in records
Set the following server configuration to true
- propertiesSetValues
For the fields that should contain NemID authentication values
- Edit field
- Click Assignment
- CheckReadonly
- Set name of attribute (ex. fname)