0 Replies Latest reply on May 17, 2007 7:57 AM by vineet tripathi

    How to call my custom login module

    vineet tripathi Newbie

      Hi all,
      I wanted to know that where is the class or mechanism through which Jboss -portal is initializing LoginContext and passing callbackhandler object before sending authentication request to its IdentityLoginModule jaas authenticator. I have created my custom login module, callbackhandler, and callbacks. I was planning to use following code
      LoginContext lc = null;
      try {
      lc = new LoginContext("MyLoginModule",
      new MyCustomCallbackHandler());
      }
      Please help me that where do i need to put this code, or if there is some other mechanism to initialize loginContext!!!!!