Skip to Content.
Sympa Menu

shibboleth-dev - RE: [Shib-Dev] Sharing configuration between LoginHandler and servlet

Subject: Shibboleth Developers

List archive

RE: [Shib-Dev] Sharing configuration between LoginHandler and servlet


Chronological Thread 
  • From: "Cantor, Scott E." <>
  • To: "" <>
  • Subject: RE: [Shib-Dev] Sharing configuration between LoginHandler and servlet
  • Date: Fri, 10 Dec 2010 14:58:08 +0000
  • Accept-language: en-US

> Yeah, just define a bean of type String in the internal.xml. As the
> Servlet spec doesn't allow injection you can't have that info magically
> injected in to the Servlet but as Scott said you can add it to the list
> of beans exported to the Servlet context. Just add the bean ID as a
> value to the list for the shibboleth.ServletAttributeExporter at the
> bottom of the internal.xml file.

Yes, and the other point is that you can do all that in your own XML file and
add it to a list of XML files for Spring to process, which are listed in
web.xml. So no need to tamper with internal.xml in most cases.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page