Unable to locate NamespaceHandler for namespace

邢春燕 xingcy at ihep.ac.cn
Sat Jun 2 06:41:24 BST 2012


Hi,
  I add kerberos on idp2.3.3, I obtained the error information in idp-process.log:
  DEBUG [edu.internet2.middleware.shibboleth.idp.config.profile.a
uthn.UsernamePasswordLoginHandlerBeanDefinitionParser:58] - Setting JAAS configuration file to: file:///usr/local/idp/conf/login.config
12:40:24.564 - ERROR [edu.internet2.middleware.shibboleth.common.config.Spring ConfigurationUtils:174] - Unable to locate NamespaceHandler for namespace [http://www.switch.ch/aai/idp/kerberos]

My configureation:

1. OpenJDK version "1.6.0_20"
2. [root at idp META-INF]# more spring.handlers
http\://www.switch.ch/aai/idp/kerberos = ch.SWITCH.aai.idp.kerberos.KrbNamespaceHandler
3. login.config

   com.sun.security.auth.module.Krb5LoginModule required
      useKeyTab="true"
      keyTab="/etc/http.keytab";

4. handler.xml

<?xml version="1.0" encoding="UTF-8"?>
<ph:ProfileHandlerGroup xmlns:ph="urn:mace:shibboleth:2.0:idp:profile-handler" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:krb="http://www.switch.ch/aai/idp/kerberos"
 xsi:schemaLocation="urn:mace:shibboleth:2.0:idp:profile-handler classpath:/schema/shibboleth-2.0-idp-profile-handler.xsd
        http://www.switch.ch/aai/idp/kerberos /usr/local/java-idp-kerberos-login-handler/target/classes/schema/kerberos-login-handler.xsd
        ">

Any help will be appreciated.

xingcy


More information about the users mailing list