shibboleth-dev - Re: [Shib-Dev] IDP metadata with no ACS url
Subject: Shibboleth Developers
List archive
- From: Bobby Lawrence <>
- To:
- Subject: Re: [Shib-Dev] IDP metadata with no ACS url
- Date: Fri, 03 Jun 2011 17:59:38 -0400
Brent -
You don't really need to modify this class. You can just extend theIs there any way you can show me how to do this? I'm not very strong in Spring, but I've configured web apps with it. I've never done anything like this before, but I did a bit of digging and found that its possible with Springs IoC container using MethodReplacers. However I can't tell if its possible in this case because the IDP code uses AbstractSingleBeanDefinitionParser's to load the beans. I cannot find how to inject this when using bean definitions created from arbitrary XML objects like the IDP does for most of its config...
class and override that method to implement this behavior, e.g. if
super.selectEndpoint() returns null, and if AuthnRequest is signed
(assuming the use of the SecurityPolicyRule that has already validated
the signature) and contains an ACS URL, then use it. You'd also need a
bit of Spring config tooling to plug it into the IdP, but that's not too
hard. So you can in fact get this functionality in a supportable way
without having to modify the IdP per se, maintain forked code, etc.
From what I've read, the MethodReplacer is only configurable (I think) when using an XML bean definition and adding a <replace-method> element. I've tried to add it to the XML for the SAML2SSO ProfileHandler but I get exceptions from Spring on startup.
- [Shib-Dev] IDP metadata with no ACS url, Bobby Lawrence, 06/03/2011
- Re: [Shib-Dev] IDP metadata with no ACS url, Brent Putman, 06/03/2011
- Re: [Shib-Dev] IDP metadata with no ACS url, Brent Putman, 06/03/2011
- Re: [Shib-Dev] IDP metadata with no ACS url, Bobby Lawrence, 06/03/2011
- Re: [Shib-Dev] IDP metadata with no ACS url, Bobby Lawrence, 06/03/2011
- Re: [Shib-Dev] IDP metadata with no ACS url, Brent Putman, 06/03/2011
- Re: [Shib-Dev] IDP metadata with no ACS url, Cantor, Scott E., 06/03/2011
- Re: [Shib-Dev] IDP metadata with no ACS url, Brent Putman, 06/03/2011
Archive powered by MHonArc 2.6.16.