0 Replies Latest reply on Mar 28, 2008 5:08 AM by Sovanna Non

    Jboss login and portlet login

    Sovanna Non Newbie


      JBoss Portal 2.4.1
      JBoss 4.0.4

      I have a portal, with portlets containing webapps. I need to be able to use the login and password from the jboss portal login page in order to log into my other apps.
      That's why I'm trying to develop a servlet in order to store the username and password in the session while login in my portal. I found something on the wiki but I'm having a few problem with the portletlogin :

      1) Why do we have 2 servlets ? (savelogin and autologin servlet)
      Can't we do both actions in one servlet ?

      2) How the connection between the autologin and savelogin servlet is done ?

      String autologinURL = req.getContextPath() + "/auth/";

      There is no reference to autologin servlet...

      3) In the autologin servlet : where do we put the code ? In which method ?

      Thanks for the answers.