Cannot resolve 'ExternalAuthn' to a type definition for element 'LoginHandler'.
Brent Putman
putmanb at georgetown.edu
Mon Oct 31 19:18:32 GMT 2011
On 10/31/11 2:20 PM, Kaustubh Nagraj wrote:
> Hi,
>
> I am trying to configure the External Authentication login handler. I am
> getting an error messgae which says the following:
>
> org.xml.sax.SAXParseException: cvc-elt.4.2: "Cannot resolve
> 'ExternalAuthn' to a type definition for element 'LoginHandler'."
>
You have a simple XML namespace error in the configuration file. Make
sure that the xsi:type value for 'ExternalAuth' has the same namespace
prefix as the LoginHandler element (since they are defined in the same
schema).
> I am following the instructions at
> https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAuthExternal and
> cant seem to place the error. Could some one help me?
>
In that example, they both have the namespace prefix 'ph', which is
presumably declared elsewhere (with a xmlns:ph declaration) not shown in
the example. Your config file may or may not declare that namespace to
the exact prefix 'ph', but whatever the prefix is (and note it could be
the default prefix ""), both the 'LoginHandler' element and
'ExternalAuth' xsi:type should be using the same prefix.
More information about the users
mailing list