Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] Re: Custom IdP Extension - example schema does not work

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] Re: Custom IdP Extension - example schema does not work


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [Shib-Dev] Re: Custom IdP Extension - example schema does not work
  • Date: Fri, 12 Mar 2010 04:58:25 -0500
  • Organization: Itumi, LLC

Well, I told you what the problem was. If you're sure that it's
something else there isn't a lot I can do to help you.

The IdP loads all of its configuration in the same exact what that
extensions do. If you look, there are no import statements in any of
those configuration files. There are only namespace declarations, which
is what I said you needed.

On 3/12/10 4:46 AM, Jan Peter Stotz wrote:
> Hi Chad,
>
> I am aware that my understanding of some involved topics is not complete
> but IMHO it is not the XML Schema - it is more the SpringFramework
> Schema loading and extension as it it uses in Shibboleth with one base
> schema and and the extended schema in a different file. That is all far
> away from any any standard XML Schema usage.
>
> BTW: I have imported my custom name space in handlers.xml including the
> xsi:schemaLocation definition. But as I said there no example available
> to show how to use my custom name space.
>
> In handlers.xml only ProfileHandler and LoginHandler elements are
> allowed therefore my name space can not be used on that level. the
> xsi:type is also fixed. Replacing the standard name space with my custom
> name space doesn't work either - then I get the mentioned problem with
> <import> element and the targetNamespace attributes mentioned in my OP.
>
> Ciao Jan
>
> Chad La Joie wrote:
>> At the XML level there is no difference between "extending" an existing
>> type and creating a new type. The config doesn't care if, under the
>> hood, you've extended a class it already knows about.
>>
>> What you're missing is a basic understanding of XML Schema[1], which, as
>> the documentation said, is a requirement for creating these new plugins.
>> In particular you haven't declared your namespace within the
>> handler.xml and used the associated prefix with the type.
>>
>> [1] http://www.w3schools.com/schema/default.asp
>
>

--
Chad La Joie
www.itumi.biz
trusted identities, delivered



Archive powered by MHonArc 2.6.16.

Top of Page