ComputedID attribute resolver setup (IdP v4)

Kapetanakis Giannis bilias at edu.physics.uoc.gr
Fri Feb 18 14:01:23 UTC 2022


You should modify it in credentials/secrets.properties

idp.persistentId.salt


G


On 18/02/2022 15:58, Dave Perry wrote:
> 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 <http://www.hull-college.ac.uk/>
>
>
> Sent via webmail/mobile
>
> ** Need a fast response? Contact 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.
>
>


More information about the users mailing list