Static value attribute
Kevin P. Foote
kpfoote at iup.edu
Thu Oct 18 11:35:45 EDT 2012
Your still not encoding it to anything..
I'd create the data connector and then reference it in my
AttributeDefinition where you then encode it..
<!-- DATA CONNECTOR STATIC mylogoutURL -->
<resolver:DataConnector id="staticValueAttributes"
xsi:type="Static"
xmlns="urn:mace:shibboleth:2.0:resolver:dc">
<Attribute id="logoutURL">
<Value>https://www.alaska.edu/risksafety/alerts/</Value>
</Attribute>
</resolver:DataConnector>
<!-- ATTRIBUTE DEF LogoutURL -->
<resolver:AttributeDefinition xsi:type="ad:Simple"
id="LogoutURL">
<resolver:Dependency ref="mylogoutURL"/>
<resolver:AttributeEncoder xsi:type="enc:SAML2String"
name="http://ak.edu/attributes/defs/LogoutURL"
friendlyName="LogoutURL"/>
</resolver:AttributeDefinition>
Then do your release for LogoutURL...
Pretty sure that's all in the wiki :-)
------
thanks
kevin.foote
On Thu, 18 Oct 2012, David Bantz wrote:
-> Thanks Scott and Kevin,
->
-> Seems obvious after you state it…
->
-> So…same attribute id in the AttributeDefinition and resolver and no dependencies, yes?
->
-> <resolver:AttributeDefinition xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad" id="LogoutURL">
->
-> <resolver:DataConnector id="staticValueAttributes" xsi:type="Static" xmlns="urn:mace:shibboleth:2.0:resolver:dc">
-> <Attribute id="LogoutURL">
-> <Value>https://www.alaska.edu/risksafety/alerts/</Value>
-> </Attribute>
-> </resolver:DataConnector>
->
-> </resolver:AttributeDefinition>
->
-> Thank you again,
->
-> David Bantz
-> UA OIT IAM
->
-> On Thu, 18 Oct 2012, at 06:33 , "Kevin P. Foote" <kpfoote at iup.edu> wrote:
->
-> > Your creating the attribute LogoutURL but are you preparing it to be
-> > sent out via your assertion? I think you need to do some encoding on it
-> > first.
-> >
-> > https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAddAttribute
-> >
-> > kevin.foote
->
->
-> > On Thu, 18 Oct 2012, at 06:29 , "Cantor, Scott" <cantor.2 at osu.edu> wrote:
->
-> > There's no attribute definition. You can't create attributes with only a
-> > data connector. They don't include the encoders that define the SAML
-> > representation, those are just internal data items for use by the other
-> > plugins.
-> >
-> > -- Scott
->
More information about the users
mailing list