FrejaEIDAuthenticatorSAML
This document describes how to configure FrejaEIDAuthenticatorSAML.
A keystore should have been received from Freja eID and imported into PhenixID Server before configuration of the authenticator. The keystore contains a certificate that allows the Freja eID server to verify requests from the PAS authenticator.
Please follow this document to import the keystore.
Properties
General description
When a SAML SP sends an authentication request to this authenticator, the authenticator will in turn send an authentication request to the Freja eID server for the specified username. If the user has enrolled a device at the Freja eID server, that device will receive a request from the Freja eID server to allow or deny the authentication. The authenticator will regularly check the server for a response from the user, until a response is received or a timeout limit is reached. If the authentication request is allowed by the user, the user will be allowed to the requested resource.
The keystore
In order for the authenticator to act as a client to the Freja eID server, triggering authentication requests and polling the server for user responses, a keystore with a certificate is necessary. The certificate is provided by Freja eID and must be kept secure. More information:
Freja eID Client SSL Certificate
For instructions of how to upload the keystore to the PAS server, see here. The resulting configuration, as seen in the Advanced view, can be seen below.
{
"id" : "a9bdfe2c-9a0b-4165-8d6d-0ae3f2ec7d9e",
"type" : "pkcs12",
"password" : "keystore password",
"certificateAlias" : "xxxx",
"privateKeyPassword" : "keystore password",
"resource" : "c9be2a3b-f3c0-471a-9f87-15ede5d55498",
"name" : "freja"
}
The truststore
In order for the PAS server to ensure that it is connecting to the correct Freja eID server, it is necessary to provide a truststore with public certificates
You have to add the certificate chain that the above client cert is created from.
This part has to be added manually in the Advanced view.
Open the Keystores part with the pen and add following code at the end.
{
"id": "frejaeid-truststore",
"resource": "frejaeid-resource",
"name": "Verisec Certificate Chain",
"certificateAlias": "0",
"type": "pkcs12"
}
Stage and Commit and then open the Resources part with it´s pen.
Add the following code, Stage and Commit.
{
"description": "Verisec Certificate Chain",
"id": "frejaeid-resource",
"content_type": "application/x-pkcs12",
"content_encoding": "base64",
"content": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUdNekNDQkJ1Z0F3SUJBZ0lVUEI0clVxRkZpRzZnNjdhK2NMQ0JDdVRreEdRd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1VURUxNQWtHQTFV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UNCZ2dyQmdFRkJRY0RBVEFOQmdrcWhraUc5dzBCQVFzRkFBT0MKQVlFQWh6U090VDl3QU8rSGRWSDVxYVRRekZ6SW56a2tvanc4Vjk3MFdlMnFpWkw5cXNTdVdYVEI3Qi93SWd5bQp3T0RCdzhiOUNpYkorZmpIdDNWY3BueU9SOHJUQW1ZdlBCcStncVFnZEFyVTA0eEptQU9JRWhjSDkxSHYzZ1p0CjBMMFBRQ1paYi85ZENzcktWclV1VVF5c2lCQVZFTHB5VjhQenBRRm81SG9NQUpyZ3pVOFNZcStMTlEvd3VPTW0KTEZwTk1jTG1KNCs4N3F3dEZ1cDh6NzFSb00rNEJpTW4zaHpKRis5a0oyb0RkYXcvYkRGb0tiSnBOTlo4YzdWRgpTK1B3T2tyQ1d5aDdrN3cybXI5WnV5RjN6N1hhL01vWElPZTlWTGl1QytNRlU0YXdMeGYvQjlFcFB1cU9sTy9NCkRHNVZDRDFtUDc3OGJLanVwZHJRQmlLYmpUdTBhMDhUYTJLTzlUd2liWElxOHQ1RmZqWWRLV0FEYjA3VE1YdEEKQXlDTmg4N2FOZExBTGY5Y3FxVlMvNXhtMlI1TUVhWDBEbkFwZU5nalViem8wMXJaVWJRSkRxOWRYbk54RHVYTwp4eE1UTW4rQkxHYitQNU1UUDAxRWN6K3R4Y2k2d1NHSjUzRUs1MzJiUXNuWXdsWC8zSjBHTTJyVExETm9YaHZXCk41TzgKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo="
}
The information in the content property is the .cer version of the root and intermediate certificates "Freja eID Production Root", "Freja eID Production Issuing CA" and the corresponding test certificates concatenated into one file. That file has has then been base64 encoded to fit in the content property above
Configuring the authenticator
Start by configuring the scenario, Federation - Username and password, according to this instruction.
See information about values for the scenario below.
When done, go to the Advanced tab and locate the Authentication - HTTP entry, that was configured in the previous "Federation - Username and password" scenario.
Change the value of the name parameter from "PostUidAndPasswordSAML" to "FrejaEIDAuthenticatorSAML".
Example Freja eID SAMLAuthenticator
In PhenixID configuration portal, go to advanced and click on the pencil next to "Authentication - HTTP".
Authenticator should look similar to this:
{
"id": "13d61f3d-3b41-49d9-ba7c-24a3b3b8911e",
"alias": "Freja2018",
"name": "FrejaEIDAuthenticatorSAML",
"displayName": "SAMLUidPwd",
"configuration": {
"success_template": "samlconsent",
"pipeID": "ff6cb2b4-101c-4734-b1bf-eb61526257c9",
"idpID": "459256d5-fb72-4bf6-8628-229a2f091c2f",
"keyStore": "b3d10a11-e325-4c6b-89e9-66bc2b240b81",
"trustStore": "frejaeid-truststore"
}
}
Add the keyStore parameter and value to the configuration. The value for keyStore can be found in PhenixID configuration portal, under Scenarios and then Federation, Keystore. Use the ID of the keystore created/imported earlier.
When done click Stage changes and Commit changes.
Configure the execution flow
Open the Execution flow tab and expand the flow.
Delete valve #1 (InputParameterExistValidatorValve), valve #2 (LDAPSearchValve) and valve #3 (LDAPBindValve).
On the valve AssertionProvider, make sure that the value for "NAME ID ATTRIBUTE" is set to "userIdentifier" and values for "ADDITIONAL ATTRIBUTES" is set to "userGivenName,userSurName".
Add valve ItemCreateFromRequestValve with the value {{request.uid}} for parameter "DESTINATION ITEM ID".
Place this valve before AssertionProvider in the valve list.
When done, press Save.
Example Pipes (from the section "Pipe valves")
{
"id": "85808f6d-8228-41b4-a8b5-afb2a1cebc16",
"name": "ItemCreateFromRequestValve",
"enabled": "true",
"config": {
"proceed_on_error": "false",
"dest_id": "{{request.uid}}"
},
"pipe_ref": "ff6cb2b4-101c-4734-b1bf-eb61526257c9"
}
----
{
"id": "356c244c-daee-425e-9488-24f876d84751",
"name": "AssertionProvider",
"enabled": "true",
"config": {
"targetEntityID": "459256d5-fb72-4bf6-8628-229a2f091c2f",
"sourceID": "https://external_sp/sp",
"nameIDAttribute": "userIdentifier",
"guide_ref": "e691e6e8-f519-4458-b389-8ed3a6b14f3d",
"additionalAttributes": "userGivenName,userSurName"
}
}
Requirements
A keystore with a valid certificate is uploaded to the PAS server.
User enrolled for freja e-id.