Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-699

When executing workflow user is authenticated multiple times for the same session

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6
    • None
    • None

    Description

      Can see following messages when running integration tests for method testEcho,

      [INFO] [talledLocalContainer] WARN : org.apache.airavata.security.userstore.JDBCUserStore - Submitted credentials for token [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false] did not match the expected credentials.
      [INFO] [talledLocalContainer] WARN : org.apache.airavata.security.AbstractAuthenticator - User : admin Failed login attempt to system at 2013-01-04 09:17:56
      [INFO] [talledLocalContainer] INFO : org.apache.airavata.security.AbstractAuthenticator - User : admin successfully logged into system at 2013-01-04 09:17:56
      [INFO] Workflow setting up completed ...
      [INFO] [talledLocalContainer] WARN : org.apache.airavata.security.userstore.JDBCUserStore - Submitted credentials for token [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false] did not match the expected credentials.
      [INFO] [talledLocalContainer] WARN : org.apache.airavata.security.AbstractAuthenticator - User : admin Failed login attempt to system at 2013-01-04 09:17:56
      [INFO] [talledLocalContainer] INFO : org.apache.airavata.security.AbstractAuthenticator - User : admin successfully logged into system at 2013-01-04 09:17:56
      [INFO] [talledLocalContainer] INFO : org.apache.airavata.security.AbstractAuthenticator - User : admin successfully logged into system at 2013-01-04 09:17:57
      [INFO] parsing a workflow created by version 0.5

      Ideally user should get authenticated once and subsequent requests should get authenticated using session information. For this client needs to send the cookie information relevant to the session. It seems like different rest clients are using different cookies when sending requests to server. Make all rest clients use the same cookie for a single session.

      Attachments

        Activity

          People

            chathuri Chathuri Wimalasena
            amilaj Amila Jayasekara
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: