SPARLookupValve
Valve for performing a person lookup against the Statens Personadressregister web service, SPAR.
This valve works on an item with a property containing the user's personnummer. After execution, the item is populated with new properties fetched from SPAR.
Properties
Example Configuration
{
"name": "SPARLookupValve",
"config": {
"keystore_path": "/opt/PhenixID/Server/certs/spar/Kommun_A.p12",
"keystore_password": "{enc}qBzUdV1OHq5K5wHZxnf3zOpzCsfQZSdrni6HyMfy4YGf6jQ2P9oQZNZbuHRlSpX6",
"endpoint_url": "https://ext-ws.statenspersonadressregister.se/2021.1",
"personnr_property_name": "personnr",
"customer_nr_delivery_receiver": "500243",
"customer_nr_end_customer": "500243",
"mission_id": "637",
"end_user_id": "WHATEVER"
}
}
Requirements
This information must be obtained from SPAR.
- Client certificate in p12 format, with keystore password, to contact the web service
- Customer number for delivery receiver (kundummer leveransmottagare)
- Customer number for end customer (kundummer slutkund)
- Mission id (uppdragsID)
To order this functionality from SPAR, the name of the item is Personsökning