Skip to Content.
Sympa Menu

shibboleth-dev - Setting user attributes

Subject: Shibboleth Developers

List archive

Setting user attributes


Chronological Thread 
  • From: "Shahzad Younas" <>
  • To: <>
  • Subject: Setting user attributes
  • Date: Wed, 6 Apr 2005 16:35:22 +0100

Hi,

I am playing with the default installation of Shibb target and origin. I
have made it so you have to enter username "test" into the HS for it to log
in. How/where (in the default installation) can I set the attributes for
this "test" user.

I am just playing around with Shibboleth - i know attributes can come from
an LDAP server, but I was just wondering where I can quickly define them
JUST for this test user.
When i manually send a AQM to the AA, only one attribute is returned
(below). I want to set the attributes returned for a SINGLE resource and
user - just for testing purposes.

Thanks!
Shahzad


<Response xmlns="urn:oasis:names:tc:SAML:1.0:protocol"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
InResponseTo="aaf23196-1773-2113-474a-fe114412ab72"
IssueInstant="2005-04-06T14:11:40.734Z" MajorVersion="1" MinorVersion="1"
ResponseID="a3cc37265ae2fc4761144a1ef87190d4">
<Status>
<StatusCode Value="samlp:Success">
</StatusCode>
</Status>
<Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion"
AssertionID="f7bdd175dbe7a0e5f9b9b646f8f97b44"
IssueInstant="2005-04-06T14:11:40.734Z"
Issuer="https://example.org/shibboleth/origin"; MajorVersion="1"
MinorVersion="1">
<Conditions NotBefore="2005-04-06T14:11:40.734Z"
NotOnOrAfter="2005-04-06T14:41:40.734Z">
<AudienceRestrictionCondition>
<Audience>https://example.org/shibboleth/target</Audience>
</AudienceRestrictionCondition>
</Conditions>
<AttributeStatement>
<Subject>
<NameIdentifier Format="urn:mace:shibboleth:1.0:nameIdentifier"
NameQualifier="https://example.org/shibboleth/origin";>21f60480-eef8-49cc-ade
d-11a211cb4fe8</NameIdentifier>
</Subject>
<Attribute xmlns:typens="urn:mace:shibboleth:1.0"
AttributeName="urn:mace:dir:attribute-def:eduPersonAffiliation"
AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
<AttributeValue
xsi:type="typens:AttributeValueType">member</AttributeValue>
</Attribute>
</AttributeStatement>
</Assertion>
</Response>





Archive powered by MHonArc 2.6.16.

Top of Page