2 Replies Latest reply on Sep 24, 2001 8:22 AM by DeepakShetty

    no security context

    DeepakShetty Newbie

      Hi
      Im trying to set use my own custom security module based on the databaseserverloginmodule.The user gets authenticated and the home method is called as well
      However getCallerPrinciple in the entity bean is failing with the following exception

      TRANSACTION ROLLBACK EXCEPTION:null
      Embedded Exception
      No security context set;
      nested exception is:
      javax.ejb.EJBException: null
      Embedded Exception
      No security context set
      [assethouse/assetserver/AssetHome] java.lang.IllegalStateException: No security
      context set
      [assethouse/assetserver/AssetHome] at org.jboss.ejb.EnterpriseContext$EJBCo
      ntextImpl.getCallerPrincipal(EnterpriseContext.java:248)

      anyone have any idea why this is happening?
      thanks
      deepak