Add `Scoping` key to SAML AuthnRequest

47 views
Skip to first unread message

Giacomo Sommavilla

unread,
Apr 12, 2021, 10:26:08 AM4/12/21
to CAS Community
Hi,

I am trying to use cas as SP with delegated authentication towards a
SAML2 IDP.

The authnrequest that I need to replicate has the `Scoping` XML key,
like this:

  <saml2p:Scoping ProxyCount="2">
    <saml2p:RequesterID>https://myid.myservice.org/sp/metadata</saml2p:RequesterID>
  </saml2p:Scoping>


In the documentation I don't see any reference to this key, so I tried
to take a look at the code and find the relevant file that could
incorporate the key in the request, but with no success.

Can anyone point me to the right point in the codebase to add the
`Scoping` key to the saml request?

Message has been deleted

Juan Manuel Díaz Nevado

unread,
Jun 5, 2023, 2:56:05 AM6/5/23
to CAS Community, Giacomo Sommavilla
Hello,

we are facing this problem now with version 6.6.7. 

Have you managed to solve this problem? 

We would appreciate any hint on the solution. 

Thank you so much.

Petr Fišer

unread,
Jun 5, 2023, 2:59:31 AM6/5/23
to cas-...@apereo.org
Hello,

DefaultDelegatedClientFactory.java is the class that bootstraps delegated clients. Its configureSamlClient(...) method is probably the starting point you want.

Cheers,
Fiisch
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/9c026c1f-4ac2-4417-8b75-cba70c9ca516n%40apereo.org.

Reply all
Reply to author
Forward
0 new messages