SPBroker
This authenticator delegates the authentication to a trusted (internal or external) SAML IdP. It authenticates by sending a SAML AuthnRequest to that IdP and then validating the assertion.
Properties
Example Configuration
<p>{
"id": "spbroker",
"alias": "spbroker",
"name": "SPBroker",
"displayName": "Broker",
"configuration": {
"sp": "spbroker",
"pipeID": "pipeAssertionConsumer",
"targetIDP": "https://external_idp/idp",
"addsignature": "false",
"requestedAuthnContext" : "{{session.userSource}}",
"principalSelection" : [ {
"name" : "uid",
"value" : "{{session.user_id}}"
} ]
}
}</p>
Click to copy
Example Service Provider configuration
{
"id" : "spbroker",
"name" : "SAML Service provider",
"keystoreSign" : "af8fedd2-7234-46bf-a254-b2568dfd3dc1",
"keystoreEncrypt" : "af8fedd2-7234-46bf-a254-b2568dfd3dc1",
"entityID" : "https://localhost:8443/samlsp/spbroker",
"baseURL" : "https://localhost:8443",
"wantsAuthnRequestsSigned" : "true",
"assertionConsumerServiceUrls" : [ "https://localhost:8443/authentication/oidc/my_oidc_op_id_2/login", " https://localhost:8443/authentication/saml/mysamlidp2dec7/login" ],
"attributeConsumingServices" : [ {
"index" : "0",
"default" : "true",
"issuers" : [ "SPEntityId1", "SPEntityId2" ],
"serviceNames" : [ {
"name" : "TestSP utan HSA-uppslag",
"lang" : "sv"
} ],
"requestedAttributes" : [ {
"name" : "urn:sambi:names:attribute:levelOfAssurance",
"nameFormat" : "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
"friendlyName" : "levelOfAssurance"
} ]
}, {
"index" : "1",
"default" : "false",
"issuers" : [ "broker", "TestSPEntityId4" ],
"serviceNames" : [ {
"name" : "TestSP med HSA-uppslag",
"lang" : "sv"
}, {
"name" : "TestSP with HSA-query",
"lang" : "en"
} ],
"requestedAttributes" : [ {
"name" : "urn:sambi:names:attribute:levelOfAssurance",
"nameFormat" : "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
"friendlyName" : "levelOfAssurance"
}, {
"name" : "http://sambi.se/attributes/1/givenName",
"nameFormat" : "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
"friendlyName" : "givenName",
"isRequired" : "true"
}, {
"name" : "http://sambi.se/attributes/1/systemRole",
"nameFormat" : "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
"friendlyName" : "systemRole"
} ]
} ],
"created" : "2023-12-08T10:01:52.316Z"
}
Click to copy
Requirements
A SAML Service Provider entity defined under Advanced->SAML Service Provider.