0 Replies Latest reply on Apr 18, 2006 7:34 AM by anykeystudio

    LoginModule interfacing with a MBean outside the SecurityDom

    anykeystudio

      Hi, I have question about when you write your own LoginModule.

      I have written a LoginModule that works fine (it inherits from DatabaseServerLoginModule). The module uses a License manager to keep track of licenses used in the system.
      The License manager is a MBean. The License manager started to work when i removed the SecurityDomain for that bean (But the rest of the application does have one). This is a bit strange, but it works ?

      But i get a problem when i try to update the "AuthenticationCache", witch have a param that specify the SecurityDomain of the application.

      What am I doing wrong, can i use a Mbean that doesn't belongs to the SecurityDomain with my LoginModule ?

      /Thanx