1 Reply Latest reply on Sep 5, 2003 1:35 PM by Tilo Thiele

    Deploy problems, principal==null

    richardmaly2 Newbie

      Until now I used only web-based login into my aplpication. For login I use DatabaseServerLoginModule defined in login-config.xml

      When I tried call context.isCallerInRole() from my session bean I get exception: isCallerInRole() called with no security context. Check that a security-domain has been set for the application.

      When I tried add <security-domain> into jboss.xml, I get exception during deploy:
      18:21:17,500 ERROR [SecurityInterceptor] Authentication exception, principal=null
      18:21:17,500 ERROR [LogInterceptor] EJBException, causedBy:
      java.lang.SecurityException: Authentication exception, principal=null

      I do not know where is problem ?!