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

Reply via email to