shibboleth-dev - Re: [Shib-Dev] Writing an IDP extension
Subject: Shibboleth Developers
List archive
- From: André Cruz <>
- To:
- Subject: Re: [Shib-Dev] Writing an IDP extension
- Date: Tue, 14 Oct 2008 18:15:35 +0100
Hello. I'm having problems referencing my custom login handler from handlers.xml... The root cause of this error was: cvc-elt.4.2: Cannot resolve 'sapo:SAPOMemcache' to a type definition for element 'LoginHandler'. handlers.xml: <LoginHandler xmlns:sapo="urn:mace:sapo.pt:shibboleth:memcache:authn" xsi:type="sapo:SAPOMemcache"> <AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</AuthenticationMethod> </LoginHandler> I already tried without the namespace specification but the result is the same... schema/memcache-handler.xsd: <schema targetNamespace="urn:mace:sapo.pt:shibboleth:memcache:authn" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ph="urn:mace:shibboleth:2.0:idp:profile-handler" elementFormDefault="qualified"> <xsd:import namespace="urn:mace:shibboleth:2.0:idp:profile-handler" schemaLocation="classpath:/schema/shibboleth-2.0-idp-profile-handler.xsd" /> <xsd:complexType name="SAPOMemcache"> <xsd:complexContent> <xsd:extension base="ph:LoginHandlerType"> <xsd:attribute name="protectedServletPath" type="xsd:string" default="/Authn/RemoteUser"> <xsd:annotation> <xsd:documentation> The servlet context path to the edu.internet2.middleware.shibboleth.idp.authn.provider.RemoteUserAuthServlet instance protected by the container or web server. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </schema> spring.handlers: urn\:mace\:sapo.pt\:shibboleth\:memcache\:authn = pt.sapo.shibboleth.authn.config.MemcacheNamespaceHandler spring.schemas: urn\:mace\:sapo.pt\:shibboleth\:memcache\:authn = schema/memcache-handler.xsd Any ideas? I followed https://spaces.internet2.edu/display/SHIB2/IdPDevExtLoginHandler and https://spaces.internet2.edu/display/SHIB2/IdPDevCustomExtension. Best regards, André On Oct 9, 2008, at 6:57 PM, Chad La Joie wrote:
|
- Re: [Shib-Dev] Writing an IDP extension, (continued)
- Re: [Shib-Dev] Writing an IDP extension, André Cruz, 10/10/2008
- RE: [Shib-Dev] Writing an IDP extension, Scott Cantor, 10/10/2008
- RE: [Shib-Dev] Writing an IDP extension, Peter Williams, 10/10/2008
- RE: [Shib-Dev] Writing an IDP extension, Scott Cantor, 10/10/2008
- RE: [Shib-Dev] Writing an IDP extension, Peter Williams, 10/10/2008
- RE: [Shib-Dev] Writing an IDP extension, Scott Cantor, 10/10/2008
- RE: [Shib-Dev] Writing an IDP extension, Peter Williams, 10/13/2008
- RE: [Shib-Dev] Writing an IDP extension, Scott Cantor, 10/14/2008
- RE: [Shib-Dev] Writing an IDP extension, Peter Williams, 10/14/2008
- RE: [Shib-Dev] Writing an IDP extension, Scott Cantor, 10/14/2008
- RE: [Shib-Dev] Writing an IDP extension, Scott Cantor, 10/10/2008
- Re: [Shib-Dev] Writing an IDP extension, André Cruz, 10/10/2008
- Re: [Shib-Dev] Writing an IDP extension, Chad La Joie, 10/14/2008
- Re: [Shib-Dev] Writing an IDP extension, André Cruz, 10/15/2008
Archive powered by MHonArc 2.6.16.