Skip to content

Use email address instead of session id to identify users#221

Merged
nlake44 merged 2 commits intoAppScale:testingfrom
shatterednirvana:use_email_instead_of_ip_for_token
Jan 2, 2013
Merged

Use email address instead of session id to identify users#221
nlake44 merged 2 commits intoAppScale:testingfrom
shatterednirvana:use_email_instead_of_ip_for_token

Conversation

@shatterednirvana
Copy link
Copy Markdown
Contributor

Fixes issue #220 by refactoring the AppLoadBalancer to use e-mail addresses when creating and getting tokens instead of the Rails session ID. The problem was that, in certain deployments (including VirtualBox), the session ID was nil, causing a SOAPFaultError when contacting the UserAppServer (which was expecting a string and not nil).

Tested on a one node deployment on VirtualBox, and on EC2.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please doc this function and any others where you made significant changes.

@ghost ghost assigned nlake44 Dec 29, 2012
@nlake44
Copy link
Copy Markdown
Contributor

nlake44 commented Dec 30, 2012

Code looks good minus some of the functions can use a doc string. Requires a demo before being merged in and to be done.

@nlake44
Copy link
Copy Markdown
Contributor

nlake44 commented Jan 2, 2013

Make sure to clear the old data session, but otherwise demo was good.

@nlake44 nlake44 closed this Jan 2, 2013
nlake44 added a commit that referenced this pull request Jan 2, 2013
…_for_token

Use email address instead of session id to identify users
@nlake44 nlake44 merged commit caba13d into AppScale:testing Jan 2, 2013
nlake44 added a commit to nlake44/appscale that referenced this pull request Sep 30, 2013
…or-run-instances

Not injecting flag for run-instances if the value was set to False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants