Quick thought about XML vs annotations for Spring wiring
Cantor, Scott
cantor.2 at osu.edu
Thu Sep 24 09:44:11 EDT 2015
On 9/24/15, 4:04 AM, "dev on behalf of Daniel Lutz" <dev-bounces at shibboleth.net on behalf of daniel.lutz at switch.ch> wrote:
>
>(Is it intended that a deployer should be able to re-configure any mapping,
>including e.g. the mapping to all of the system flows defined in
>system/conf/webflow-config.xml?)
Ideally. The current state is a bug as far as I'm concerned, I just don't have a solution for it yet.
>BTW, to add an annotations based controller, it's sufficient to
>declare it as a bean, e.g. in system/conf/mvc-bean.xml, like this:
>
> <bean id="shibboleth.SPNEGOAuthnController"
> class="net.shibboleth.idp.authn.impl.spnego.SPNEGOAuthnController" />
Yes, but you can't touch that file as a deployer. So that's not a good solution. I realize now that that's what Misagh was mentioning, we need an include there to let people insert beans into it, but it's still not a good way to go.
-- Scott
More information about the dev
mailing list