Older versionPhenixID server 2.6 ValvesAuthenticateBankIDCollectAuthenticationStatusValve

BankIDCollectAuthenticationStatusValve

Check the status of a BankID authentication using the BankID transaction ID as identifier.

The property status will always be added to a new item.

If status equals OK, user data will be fetched and added to a new item. These signature properties will be added:

- personalNumber

- name

- givenName

- surName

 

If status equals ERROR, these properties will be added:

- message

- details

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
transactionID BankID transaction ID. Yes Yes
customerID Customer ID (for event logging). No No
userid_param_name User ID (for event logging). {{request.userid}} No Yes

Example Configuration

{
    "name": "BankIDCollectAuthenticationStatusValve",
    "config": {
     "bankid_keystore_path": "C:/Program Files/PhenixID/Server/resources/FPTestcert2_20150818_102329.p12",
     "bankid_keystore_password": "{enc}r2MlB5KT6tbY/xynClo/7D7Xs4d8dxOaxgPsIrRvmtk=",
     "mode": "test",
     "transactionID": "{{request.transactionID}}",
     "customerID": "{{request.tenant}}",
     "userid_param_name" : "{{request.userid}}"
     }
}

Requirements

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