1 Reply Latest reply on Nov 24, 2008 5:38 AM by Jimenez Remy

    My own authentication module

    Jimenez Remy Newbie

      My jboss portal is deployed in a kerberos environment.
      For the authentication on jboss, i use Apache and ModJk. Because i know how to use kerberos with Apache.

      But i can't communicate with a ldap server via kerberos between jboss and ldap.

      Therefore i am developping my own auth module where i use JNDI + SASL.

      My issue is when i'm trying to deploy my module.


      2008-11-20 15:53:40,872 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Configured: name=portal:identity=Module,type=User state=Instantiated
      org.jboss.joinpoint.spi.JoinpointException: Property jNDIName not found for AbstractBeanInfo@1290155{name=fr.xxxx.portail.login.Krb5LdapLoginModuleImpl classInfo= properties=[class] methods=[, ,
      , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] constructors=[] events=}
      at org.jboss.kernel.plugins.config.Configurator.resolveProperty(Configurator.java:659)
      at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:433)
      at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoints(Configurator.java:398)
      at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoints(AbstractKernelConfigurator.java:112)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$ConfigureAction.installAction(KernelControllerContextActions.java:313)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)


      Any ideas ?
      Thanks.

        • 1. Re: My own authentication module
          Jimenez Remy Newbie

          i add this lines in my login-config.xml

          <module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
           <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
           <module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
           <module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>


          Now, i have a error about the property jndiBinder.
          Any ideas ?