AnsweredAssumed Answered

AuthenticationUtils.startSession() does not work in JSP pag

Question asked by chengdong on Mar 30, 2010
Latest reply on Jun 18, 2010 by mangar
I am trying to get a ticket by calling  AuthenticationUtils.startSession(). It does not work in JSP.  it works in standalone java class. Did I miss anything in the jar file, certificate or classpath?

Thanks for help

   try {
          AuthenticationUtils.startSession("admin", "admin");
         String ticket = AuthenticationUtils.getTicket();
         return ticket;

      } catch (Exception serviceException) {
         throw new RuntimeException("Problem invoking web script",
      finally {           
       // End the session
       if (conn != null) conn.disconnect();