Skip to Content.
Sympa Menu

comanage-users - Re: [comanage-users] auto fill some fields in the petition form

Subject: COmanage Users List

List archive

Re: [comanage-users] auto fill some fields in the petition form


Chronological Thread 
  • From: Scott Koranda <>
  • To: Carlos Adean <>
  • Cc: comanage-users <>
  • Subject: Re: [comanage-users] auto fill some fields in the petition form
  • Date: Wed, 7 Dec 2022 13:41:37 -0600
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=illinois.edu; dmarc=pass action=none header.from=illinois.edu; dkim=pass header.d=illinois.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=s7R5U+FmDQyWcXTvFO2iX3AFvKQwyEv7POUfz5BqhiY=; b=ETpvcKl/0Rimy616YEESmTfbGaR8YwHHm6pNCykwCfvWGuLzUqjBGl81i3x8V2z8ee5lmhsZjkpCCoTJBtnnFCK/bnEvYtC0lHUe3npFBJt+K24XnyxwRuAQWoHvGEsnMY8zhqD4qqWL0CMzkjQAJmXruRttwVELtST+uILksouVfzU31tnSmATBgAdnp4pJT29qMwYVWunrUEwJ9Xrp4M/VxjYJ7iDetIBtjUExRTQDrOUs09xPHZpZqapngVJYKL0Qv0oCZ5TBv1e+ZNrMRf3fRgWCBtMyhLLGHygFUBP1oOdWYX7mwlHf9SFgRhK5k6+YFVFHZ/uvbN2x4NUSjg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gYUK7QOwETuDFSiIi0JPDEvd1fGmIKxu5Z0YHN1qTodrJpbwRi/aAwabpd6afbSkBfzN66fVl5HCkFsbM33e+7ruYVMMITB6Fqb7C4bkKRBxCMHXokKTCznYM8pKzQ9dDpIR12G5JhxJgt327wqnCrHUusiZXo6QBJm0RA3JqT58ad+qRBFR/9GW0egElzLDlSYRzEFzmJ0R+cFOZto0BLJlh9HcbV3hFQxKwgr8wbYFjYxdKw+Ryy8K3lfxJulWn4Iu6zuSJK3XJKgPeLlDW7F1vcehcgGAo2OPORwE8WI0TSUvUZ6Jodibu11WvyHCLEb4920jSeN2+D+gsCOeCg==

Hi,

To aid in debugging I would edit your shibboleth2.xml file. You should
have an element that looks like

<Handler type="Session" Location="/Session" showAttributeValues="false"/>

Change that to instead be

<Handler type="Session" Location="/Session" showAttributeValues="true"/>

Then go through the enrollment and stop at the point where you expect
the attributes to "show up". In a different browser tab browse to

https://<your FQDN>/Shibboleth.sso/Session

You should see the CGI environment variables and their values. You want
to make sure you do and that your configuration matches the names of the
environment variables you see on that view.

HTH,

Scott K

> Hi,
>
> Thank you for the help.
>
> I noticed that shibboleth's session is bringing the user attributes
> corretly, but the comanage registry is not recognizing them. It worked in
> the past.
>
> I recently had to change the domain name and it was necessary to replace it
> in the apache vhost configuration, also directly in the registry database.
>
> Is this a side effect? If so, how to debug it?
>
>
> These are the attributes configured in the CMP Enrollment Configuration.
> The ePPN is enabled in the "Extended Types" and all of them are "Enrollment
> atributes".
>
>
>
> thanks.
>
>
>
>
>
>
> Carlos Adean
> Systems Analyst
> [ https://www.linea.org.br/ | Site ] | [ https://twitter.com/LIneA_org |
> Twitter ] | [ https://www.instagram.com/linea_org/ | Instagram ] | [
> https://www.facebook.com/linea.org | Facebook ]
> Laboratório Interinstitucional de e-Astronomia Nosso domínio mudou de
> .gov.br para .org.br
>
>
>
> From: "Benn Oshrin" <>
> To: "comanage-users" <>, "carlosadean"
> <>
> Sent: Wednesday, November 23, 2022 4:52:24 PM
> Subject: Re: auto fill some fields in the petition form
>
> Hi Carlos,
>
> You can use the Shib SP to set environment variables that can be used to
> populate default values[1]. Be sure to note the special convention for the
> name fields.
>
> Thanks,
>
> -Benn-
>
> [1] [
> https://spaces.at.internet2.edu/display/COmanage/Consuming+External+Attributes+via+Web+Server+Environment+Variables#ConsumingExternalAttributesviaWebServerEnvironmentVariables-PopulatingDefaultValuesDuringEnrollment
> |
> https://spaces.at.internet2.edu/display/COmanage/Consuming+External+Attributes+via+Web+Server+Environment+Variables#ConsumingExternalAttributesviaWebServerEnvironmentVariables-PopulatingDefaultValuesDuringEnrollment
> ]
>
>
> From:
> <> on behalf of Carlos Adean
> <>
> Sent: Wednesday, November 23, 2022 7:28 AM
> To: <>
> Subject: [comanage-users] auto fill some fields in the petition form
> Hi experts,
>
>
> I currently have an IdP implemented and it shares 5 user attributes, they
> are: name, given name, surname, email and eppn.
>
> I would like to bring to the form these attributes after the user login in
> the comanage registry.
>
>
> Is it possible to automatically fill some fields in a petition form, after
> the user has logged in via shibboleth?
> thanks.
>
>
>
>
>
>
> Carlos Adean
> Systems Analyst
> [ https://www.linea.org.br/ | Site ] | [ https://twitter.com/LIneA_org |
> Twitter ] | [ https://www.instagram.com/linea_org/ | Instagram ] | [
> https://www.facebook.com/linea.org | Facebook ]
> Laboratório Interinstitucional de e-Astronomia Nosso domínio mudou de
> .gov.br para .org.br
>



Archive powered by MHonArc 2.6.24.

Top of Page