1 Reply Latest reply on Feb 3, 2015 8:15 AM by valsaraj viswanathan

    Unable to find LoginModule class: org.app.security.auth.CustomLoginModule from [Module "deployment.app.ear.appEJB.jar:main" from Service Module Loader] at javax.security.auth.login.LoginContext

    valsaraj viswanathan Master

      Hi,

       

      I am getting following error when tried to login from code using custom login module.

       

      unable to find LoginModule class: org.tolven.security.auth.CustomLoginModule from [Module "deployment.tolven.ear.appEJB.jar:main" from Service Module Loader] at javax.security.auth.login.LoginContext (line 822)

       

      This login module class is bundled in a  jar and added as custom wildfly module named "com.app.configuration and added dependency in application using jboss-deployment-structure.xml file:

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">

        <deployment>

        <dependencies>

            <module name="com.app.configuration"/>

        </dependencies>

        </deployment>

      </jboss-deployment-structure>

       

      Thanks!