3 Replies Latest reply on Mar 1, 2012 10:59 AM by axel becker

    Custom login module on AS7

    slappie Newbie

      Hi All,

       

      I am trying to deploy my ear on AS7 which is deploying properly on AS6. When I deploy it i get te following error:

       

      Caused by: java.lang.ClassNotFoundException: org.jboss.security.auth.login.DynamicLoginConfig from [Module "deployment.my-1.0.ear:main" from Service Module Loader]

       

      My jboss-service.xml contains:

       

      <server xmlns="urn:jboss:service:7.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xsi:schemaLocation="urn:jboss:service:7.0 jboss-service_7_0.xsd">

      <mbean code="org.jboss.security.auth.login.DynamicLoginConfig"

        name="my:service=MyAuthenticator">

        <attribute name="AuthConfig">META-INF/my-config.xml</attribute>

        <depends optional-attribute-name="LoginConfigService">

         jboss.security:service=XMLLoginConfig</depends>

        <depends optional-attribute-name="SecurityManagerService">

         jboss.security:service=JaasSecurityManager</depends>

      </mbean>

      </server>

       

      Can someone give me some directions how this should be configured on AS7 ?

       

      Kind regards,

      Marco