You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Amila Jayasekara (JIRA)" <ji...@apache.org> on 2013/01/04 15:26:12 UTC

[jira] [Created] (AIRAVATA-699) When executing workflow user is authenticated multiple times for the same session

Amila Jayasekara created AIRAVATA-699:
-----------------------------------------

             Summary: When executing workflow user is authenticated multiple times for the same session
                 Key: AIRAVATA-699
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-699
             Project: Airavata
          Issue Type: Bug
            Reporter: Amila Jayasekara
             Fix For: 0.6


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira