Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.