[ovirt-users] Re: API token in postgres

2018-07-04 Thread Hari Prasanth Loganathan
Hi all,

I come to know via code that, It is stored in the in-memory in Concurrent
hash map.

storing the mapping between sessionId and SSOToken in ConcurrentHashMap which
will be in In-Memory.

private ConcurrentMap sessionInfoMap = new
ConcurrentHashMap<>();

https://github.com/oVirt/ovirt-engine/blob/15b0de3a83c090384
29b67cc45ee36aa26096891/backend/manager/modules/bll/src/main/java/org/ovirt/
engine/core/bll/aaa/SessionDataContainer.java

Thanks,
Hari

On Wed, Jul 4, 2018 at 3:05 AM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Guys, any help is appreciated.
>
> I am not able to find the table in Postgres. Please let me know.
>
> Thanks
>
> On Tue, 3 Jul 2018 at 9:52 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Guys,
>>
>> Could somebody help on the postgres table, Which table is used to store
>> the mapping between sessionId and sso token?
>>
>> If my query is not clear, please let me know.
>>
>> Thanks,
>> Hari
>>
>> On Tue, Jul 3, 2018 at 6:14 PM, Hari Prasanth Loganathan > msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> Which postgres table is used to store the relation between sessionId and
>>> SSO token ?
>>>
>>> I verified the *github* : https://github.com/oVirt/ovirt-engine/blob/
>>> d910a6e14bdb9fad0f21b8d9f22723f53db2fd2d/backend/manager/
>>> modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/
>>> SsoRestApiAuthFilter.java
>>>
>>> *Code** :*
>>>
>>> QueryReturnValue queryRetVal = FiltersHelper.getBackend(ctx).
>>> runPublicQuery(
>>> QueryType.*GetEngineSessionIdForSsoToken*,
>>> new GetEngineSessionIdForSsoTokenQueryParameters(token));
>>>
>>>
>>>
>>> Which table in postgres has the mapping between sessionId and sso token?
>>> Could somebody help me on this?
>>>
>>> Thanks,
>>> Hari
>>>
>>
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OUUPZCSNYDYE76CPXX2M2RYSHD7AC4KZ/


[ovirt-users] Re: API token in postgres

2018-07-03 Thread Hari Prasanth Loganathan
Guys, any help is appreciated.

I am not able to find the table in Postgres. Please let me know.

Thanks

On Tue, 3 Jul 2018 at 9:52 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Guys,
>
> Could somebody help on the postgres table, Which table is used to store
> the mapping between sessionId and sso token?
>
> If my query is not clear, please let me know.
>
> Thanks,
> Hari
>
> On Tue, Jul 3, 2018 at 6:14 PM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> Which postgres table is used to store the relation between sessionId and
>> SSO token ?
>>
>> I verified the *github* :
>> https://github.com/oVirt/ovirt-engine/blob/d910a6e14bdb9fad0f21b8d9f22723f53db2fd2d/backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/SsoRestApiAuthFilter.java
>>
>> *Code** :*
>>
>> QueryReturnValue queryRetVal = FiltersHelper.getBackend(ctx).
>> runPublicQuery(
>> QueryType.*GetEngineSessionIdForSsoToken*,
>> new GetEngineSessionIdForSsoTokenQueryParameters(token));
>>
>>
>>
>> Which table in postgres has the mapping between sessionId and sso token?
>> Could somebody help me on this?
>>
>> Thanks,
>> Hari
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TKKLAFAUV6X2IPCSEXBTDJWFEXWDM365/


[ovirt-users] Re: API token in postgres

2018-07-03 Thread Hari Prasanth Loganathan
Hi Guys,

Could somebody help on the postgres table, Which table is used to store the
mapping between sessionId and sso token?

If my query is not clear, please let me know.

Thanks,
Hari

On Tue, Jul 3, 2018 at 6:14 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> Which postgres table is used to store the relation between sessionId and
> SSO token ?
>
> I verified the *github* : https://github.com/oVirt/ovirt-engine/blob/
> d910a6e14bdb9fad0f21b8d9f22723f53db2fd2d/backend/manager/
> modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/
> SsoRestApiAuthFilter.java
>
> *Code** :*
>
> QueryReturnValue queryRetVal = FiltersHelper.getBackend(ctx).
> runPublicQuery(
> QueryType.*GetEngineSessionIdForSsoToken*,
> new GetEngineSessionIdForSsoTokenQueryParameters(token));
>
>
>
> Which table in postgres has the mapping between sessionId and sso token?
> Could somebody help me on this?
>
> Thanks,
> Hari
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WGQSOOQ5TYBZPDHZOJZ6HDYPG5H4GU45/