AW: get relyingPartyConfiguration Bean ID from within attribute-release template

Bergmann, Clemens clemens.bergmann at tu-darmstadt.de
Thu Sep 9 17:51:12 UTC 2021


Hi all,

The following line in the template seems to work for me:

#set ($isAttributeQuerySP = $profileRequestContext.getSubcontext("net.shibboleth.idp.profile.context.RelyingPartyContext").getConfiguration().getProfileConfigurations($profileRequestContext).containsKey("h    ttp://shibboleth.net/ns/profiles/saml2/query/attribute"))

Viele Grüße
Clemens (Bergmann)
-- 
Clemens Bergmann
Gruppe Nutzermanagement und Entwicklung
Technische Universität Darmstadt
Hochschulrechenzentrum, Alexanderstraße 2, 64289 Darmstadt
Tel. +49 6151 16 71184
http://www.hrz.tu-darmstadt.de/


> -----Ursprüngliche Nachricht-----
> Von: users <users-bounces at shibboleth.net> Im Auftrag von Cantor, Scott
> Gesendet: Donnerstag, 9. September 2021 14:27
> An: Shib Users <users at shibboleth.net>
> Betreff: Re: get relyingPartyConfiguration Bean ID from within attribute-
> release template
> 
> On 9/9/21, 3:19 AM, "users on behalf of Bergmann, Clemens" <users-
> bounces at shibboleth.net on behalf of clemens.bergmann at tu-
> darmstadt.de> wrote:
> 
> >    I want to inform the user that the attributes are released to a party that is
> allowed to do attribute queries.
> >    Is there a way to access the ID of the RelyingPartyOverrides bean from
> within attribute-release.vm?
> 
> See
> https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631868/Profile
> Handling
> and the javadocs.
> 
> -- Scott
> 
> 
> --
> For Consortium Member technical support, see
> https://shibboleth.atlassian.net/wiki/x/ZYEpPw
> To unsubscribe from this list send an email to users-
> unsubscribe at shibboleth.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6377 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20210909/c4a74cf6/attachment.p7s>


More information about the users mailing list