0 Replies Latest reply on Nov 22, 2006 8:03 AM by kimbaltrue

    Servlet Authentication without j_securitycheck

    kimbaltrue

      I have a servlet that receives a non-SOAP XML message with authentication information in the message, and I need to establish a temporary security context to call a secured EJB.

      What is the best method for doing this? The client is not able to call j_securitycheck.

      Currently I'm creating a LoginContext, getting the Subject and invoking the EJB through a Subject.doAs call. So far I haven't been able to get this to work.