0 Replies Latest reply on Apr 8, 2005 3:53 AM by g_cm77

    Authentication Exception on JBoss Server Startup

    g_cm77

      I am getting the following exception while starting the JBoss Server.

      [SecurityInterceptor] Authentication exception, principal=null
      12:26:09,000 ERROR [LogInterceptor] EJBException, causedBy:
      java.lang.SecurityException: Authentication exception, principal=null
      at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:164)
      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome


      My understanding is, the server side LoginModule implementation shoud be invoked only when credentials are passed from a Client.

      But in my case, on server startup itself the LoginModule is invoked.

      My login-config looks like this...

      <application-policy name = "Test">

      <login-module code="com.dhyan.nms.server.popserver.TestLoginModule"
      flag = "required" />

      </application-policy>



      I have also included the security-domain tag in the jboss.xml file.

      Can anyone throw some light on this issue.