0 Replies Latest reply on Nov 20, 2009 4:01 AM by Jan Bentzen

    Custom CallbackHandler with jboss 4.2 AS

    Jan Bentzen Newbie

      Hi all

      I have 2 related questions:

      1) Is it possible to configure a custom CallbackHandler with JBoss4.2 AS?

      I found a posting stating how to do it for JBoss5:

      Are any these methods applicable with JBoss4.2?

      2) I would like to configure my application for web authentication, using an auth-method that does not prompt the user. Is this possible? Which auth-method can I use for this? I guess I'm failing to understand what exactly causes the container to prompt the user when using e.g. BASIC auth? Can it be controlled with the CallbackHandler?

      For those interested, my scenario is:
      Users are authenticating in a foreign system (of which I basically know nothing), and requests (including a simple username parameter) are then sent to an application in my jboss. The application in JBoss is configured for web authentication, but I do not want the users to be prompted for credentials when they are coming from the foreign system. I just want my custom login modules to create the necessary prinipals based on the username (from request parameter).
      That's why I'm planning on putting a custom callbackhandler in place to provide the username without prompting.
      And, I also need to figure out with which auth-method to configure my applications so that users are NOT prompted.