<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello Keystone folks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a user in the system, <o:p></o:p></p>
<p class="MsoNormal"> name=barbican <o:p></o:p></p>
<p class="MsoNormal"> tenant=service.<o:p></o:p></p>
<p class="MsoNormal"> v2<o:p></o:p></p>
<p class="MsoNormal">Been creating tokens via curl for v2 for said user, and via the barbican. Then tokens in the database are different, some do not have tenant and meta-data information populated and thus behave differently for authentication purposes.<o:p></o:p></p>
<p class="MsoNormal">Why?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Malini<o:p></o:p></p>
<p class="MsoNormal">=======================<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The tokens created using the curl call <a href="http://docs.openstack.org/developer/keystone/api_curl_examples.html">
http://docs.openstack.org/developer/keystone/api_curl_examples.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">curl -d '{"auth":{"passwordCredentials":{"username": "barbican", "password": "secret"}}}' -H "Content-type: application/json"
<a href="http://localhost:35357/v2.0/tokens">http://localhost:35357/v2.0/tokens</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Example:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">| ec6ef5271a8f4045ba869e6b89744a21 | 2013-05-11 17:22:03 | {"key": "ec6ef5271a8f4045ba869e6b89744a21", "user": {"email": "barbican@rackspace.com", "tenantId": "7ddd3dee8a6a44e5a2b6569d03fb0d35", "enabled": true, "name": "barbican", "id":
"326e5e2c3b4d4fcd83690c1279bbba19"}, <span style="background:yellow;mso-highlight:yellow">
"tenant": null</span>, "metadata": {"roles": []}} | 1 | NULL | 326e5e2c3b4d4fcd83690c1279bbba19
|<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">| f84e1ff682944b1bb8b6813d39e4bef3 | 2013-05-11 09:10:04 | {"key": "f84e1ff682944b1bb8b6813d39e4bef3", "user": {"email": "barbican@rackspace.com", "tenantId": "7ddd3dee8a6a44e5a2b6569d03fb0d35", "enabled": true, "name": "barbican", "id":
"326e5e2c3b4d4fcd83690c1279bbba19"}, <span style="background:yellow;mso-highlight:yellow">
"tenant": {"enabled": true, "description": null, "name": "service", "id": "7ddd3dee8a6a44e5a2b6569d03fb0d35"},</span> "metadata": {"roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "3af169881abe4d1187a4a5d03a14fcce"]}} | 1 | NULL | 326e5e2c3b4d4fcd83690c1279bbba19
| <o:p></o:p></p>
</div>
</body>
</html>