BankIDAuthenticateValve

Trigger BankID authentication. Used in the context of the HTTP API.

On successful execution, a new item will be added and the bankID transaction id value will be added to the property transactionID. If no personnr is passed to the valve, another property, autostarttoken, will be added to the item.

Properties

Name Description Default value Mandatory Supports property expansion
bankid_keystore_path Full filepath to bankid p12 file Yes No
bankid_keystore_password Password to bankid p12 file yes No
mode Switch to communicate with bankid test or production environment. Set to test to target bankid test environment production No No
pnr Personnummer. If param is missing or request param is missing, autostarttoken will be set on item. No Yes
client_ip_request_param Request parameter containing client IP adress remoteAddress No No

Example Configuration

{
				"name": "BankIDAuthenticateValve",
				"config": {
					"bankid_keystore_path": "C:/Program Files/PhenixID/Server/22SNAP-3Juli2017/resources/FPTestcert2_20150818_102329.p12",
					"bankid_keystore_password": "{enc}nZFd9j2WpnmU1t49UB+ZNG5HW95YXzbwAH1XIIL7A14=",
					"mode": "test",
					"pnr": "{{request.pnr}}",
					"client_ip_request_param": "X-Forwarded-For"
				}
			}

Requirements

- Keystore (p12 format) file used to authenticate to BankID service stored on PhenixID Authentication Server.

- BankID client (for testing).