2 Replies Latest reply on Feb 22, 2002 3:16 AM by abrasax

    AutoNumberFactorys findByPrimaryKey

    abrasax

      Hi all,

      I use the AutoNumberFactory for generating primary keys for my EBs. It worked fine, until I added a security domain to my application. Now when calling the getNextInteger method I always get "java.lang.SecurityException: No method permissions assigned to method=findByPrimaryKey" exception...

      I still don't have perfect understanding about the complexities of EJB security. Please, can someone advise, how to set the method permission for that finder (it's not a part of my ejb.jar)?

      Thanks
      Martin Stepanek