[
https://issues.apache.org/jira/browse/AIRAVATA-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chathuri Wimalasena resolved AIRAVATA-738.
------------------------------------------
Resolution: Fixed
Previous implementation we are keeping a cookie for each call. For the next
call, we are using the existing cookie. So if you specify the correct
credentials first and immediately try to connect using wrong credentials, since
we use the previous cookie, that call will get authenticated. Ideally for a
REST service we should not maintain a cookie. Since REST should be stateless.
From the fix, we create a new cookie whenever we initiate the airavata client
instance.
> Xbaya does not give error messages when connecting to database with wrong
> credentials
> -------------------------------------------------------------------------------------
>
> Key: AIRAVATA-738
> URL: https://issues.apache.org/jira/browse/AIRAVATA-738
> Project: Airavata
> Issue Type: Bug
> Components: XBaya
> Affects Versions: 0.6
> Reporter: Chathuri Wimalasena
> Assignee: Chathuri Wimalasena
> Fix For: 0.9
>
>
> When connecting to registry from XBaya, if you give a wrong username and
> password, it will not give any error messages, instead it will connect as
> default credentials (admin, admin). Proper error messages should be
> propagated from server side to client side.
--
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