Ask Your Question

akakios's profile - activity

2016-10-10 05:55:50 -0500 received badge  Famous Question (source)
2015-03-09 04:28:17 -0500 received badge  Good Question (source)
2014-07-01 04:02:59 -0500 received badge  Nice Question (source)
2014-07-01 04:01:19 -0500 received badge  Famous Question (source)
2014-06-11 01:58:35 -0500 received badge  Notable Question (source)
2014-06-10 11:58:28 -0500 received badge  Popular Question (source)
2014-06-06 16:37:17 -0500 received badge  Student (source)
2014-06-06 07:10:10 -0500 commented answer Is there a way to retrieve a user's credentials?

If that is the case, I'll have to find another way to extend the token expiration. Asked a more relevant question here: https://ask.openstack.org/en/question/31563/how-to-do-api-token-renewalor-expiration-extension/ (How to do api token renewal(or expiration extension))

2014-06-06 07:04:47 -0500 asked a question How to do api token renewal(or expiration extension)

I'm building a custom dashboard(as a replacement to horizon), but I'm having trouble managing token renewal in openstack(Icehouse). My goal is to "extend" a user's session as long as he is doing operations on the dashboard. I had two options:

  1. If the token's expiration is near, generate a token using an existing token and use the new token moving forward -- but the problem with this is that the new token's expiration issued by openstack has the same expiration as the old one.

  2. If the token's expiration is near, revoke the the token, query the user's credentials(i think this was still supported on keystone v2 on havana) through an admin session, and then get a token in behalf of the user and use that moving forward. But i think the ability to get a user's credential's is now not supported.

So, both can't really work -- can anybody point me to the right direction to be able to achieve what I intend to do?

2014-06-06 06:47:07 -0500 received badge  Supporter (source)
2014-06-06 06:47:05 -0500 received badge  Scholar (source)
2014-06-06 06:46:51 -0500 commented answer Is there a way to retrieve a user's credentials?

Hi rubicon, I was meaning to retrieve the password credentials.

2014-06-06 06:36:20 -0500 received badge  Notable Question (source)
2014-05-20 04:31:55 -0500 received badge  Popular Question (source)
2014-05-18 00:05:15 -0500 asked a question Is there a way to retrieve a user's credentials?

I'm on Icehouse/Ubuntu 14.04 and have been looking into how to retrieve a user's credentials. This will be used to ensure that sessions in the application we are making will be continuous. When the token expiration will be near, we will revoke the token and re-login the user to obtain a new token. This is where the problem lies. Although the API reference exposes it, it doesn't seem to be usable(https://bugs.launchpad.net/openstack-api-site/+bug/1278847). Is this at all possible via the API?