ComputedID attribute resolver setup (IdP v4)
Duncan Brannen
dbb at st-andrews.ac.uk
Fri Feb 18 15:49:16 UTC 2022
The salt value goes in secrets.properties in the credentials folder.
Our v3 config had mention of the algorithm in some of the provided config files but none of the live config files so I'd guess if it's not in yours then like us you're using the defaults. saml-nameid.properties had the persistentId.encoding value set in our v3 config. (BASE32)
Can you copy your v3 linux config across to the windows server and do an upgrade from there? (or upgrade a copy of the v3 config on the Suse box and then copy it to the windows server?)
Cheers,
Duncan
From: users <users-bounces at shibboleth.net> On Behalf Of Dave Perry
Sent: 18 February 2022 13:58
To: users at shibboleth.net
Subject: ComputedID attribute resolver setup (IdP v4)
Hi all
I have hit a few brick walls with upgrading our old v3 IdP to v4 (OS and Jetty), so starting from scratch on a new windows server installation.
After base install, the status.bat shows the IdP is running - good start.
Configuring attribute resolution, I need to port the old computedID connector and salt (snippet below):
<resolver:DataConnector xsi:type="ComputedId" xmlns="urn:mace:shibboleth:2.0:resolver:dc"
id="computedIDv3"
generatedAttributeID="computedID"
sourceAttributeID="sAMAccountName"
salt="mySaltGoesHere">
<resolver:Dependency ref="myLDAP" />
</resolver:DataConnector>
(actual salt removed for obvious reasons).
The example I've found for v4 is as follows:
<DataConnector id="computedID" xsi:type="ComputedId" generatedAttributeID="computedId" salt="%{idp.persistentId.salt}" algorithm="%{idp.persistentId.algorithm:SHA}" encoding="%{idp.persistentId.encoding:BASE32}">
<InputDataConnector ref="myLDAP" attributeNames="sAMAccountName" />
</DataConnector>
I can't find the persistentId.salt value in idp.properties - do I need to add it?
More importantly, unsure what the algorithm and encoding attribute values need to be, as I can't find where these are defined in my v3 config. Any pointers as to where to look?
Thanks
Dave
Dave Perry | eLearning Technologist | eLearning & Libraries | L32 (Library)
Hull College, Queen's Gardens, Wilberforce Drive, Kingston-Upon-Hull, HU1 3DG.
* 01482 381930 (Ext: 2230) | * Dave.Perry at hull-college.ac.uk<mailto:Dave.Perry at hull-college.ac.uk> | www.hull-college.ac.uk<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hull-college.ac.uk%2F&data=04%7C01%7Cdbb%40st-andrews.ac.uk%7Cd7b79d6b73604c5ab69a08d9f2e6c06b%7Cf85626cb0da849d3aa5864ef678ef01a%7C0%7C0%7C637807896016531310%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hUetkeZnFRkjE%2FTPEFw883yrrbbGFvZks1xPaDYAaE8%3D&reserved=0>
Sent via webmail/mobile
* Need a fast response? Contact elearning at hull-college.ac.uk<mailto:elearning at hull-college.ac.uk> *
If you need support for your mental health, out of college hours, please contact the following:
Hull & East Riding - Crisis Team (Adults) Tel: 0800 138 0990 and Children Services Tel: 01482 301701
If you live in a different local authority area please access the following link for mental health services in your local area - https://hubofhope.co.uk/
Other important local services
Hull & East Yorkshire MIND - Tel: 01482 240133
Hull Domestic Abuse Partnership - Tel: 01482 318759
Samaritans - Tel: 116 123
Papyrus - Tel: 0800 068 4141
This message is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise us of any errors in transmission. Any views expressed in this message are solely the views of the individual and do not represent the views of the College. Nothing in this message should be construed as creating a contract.
Hull College Group owns the email infrastructure, including the contents.
Hull College Group is committed to sustainability, please reflect before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20220218/f07361b5/attachment.htm>
More information about the users
mailing list