Re: [Dev] Concern about the column length of SESSION_ID in IDN_AUTH_SESSION_STORE table

2015-10-28 Thread Gayan Gunawardana
On Wed, Oct 28, 2015 at 10:27 AM, Nuwan Dias wrote: > > > On Wed, Oct 28, 2015 at 10:20 AM, Darshana Gunawardana > wrote: > >> >> >> On Wed, Oct 28, 2015 at 10:18 AM, Darshana Gunawardana > > wrote: >> >>> >>> >>> On Tue, Oct 27, 2015 at 10:24 AM, Johann Nallathamby >>> wrote: >>> Yes. Thi

Re: [Dev] Concern about the column length of SESSION_ID in IDN_AUTH_SESSION_STORE table

2015-10-27 Thread Nuwan Dias
On Wed, Oct 28, 2015 at 10:20 AM, Darshana Gunawardana wrote: > > > On Wed, Oct 28, 2015 at 10:18 AM, Darshana Gunawardana > wrote: > >> >> >> On Tue, Oct 27, 2015 at 10:24 AM, Johann Nallathamby >> wrote: >> >>> Yes. This is a problem. I also see few other related problems and looks >>> like t

Re: [Dev] Concern about the column length of SESSION_ID in IDN_AUTH_SESSION_STORE table

2015-10-27 Thread Darshana Gunawardana
On Wed, Oct 28, 2015 at 10:18 AM, Darshana Gunawardana wrote: > > > On Tue, Oct 27, 2015 at 10:24 AM, Johann Nallathamby > wrote: > >> Yes. This is a problem. I also see few other related problems and looks >> like the code could be buggy as well. >> >> Looking at the code I see the following ca

Re: [Dev] Concern about the column length of SESSION_ID in IDN_AUTH_SESSION_STORE table

2015-10-27 Thread Darshana Gunawardana
On Tue, Oct 27, 2015 at 10:24 AM, Johann Nallathamby wrote: > Yes. This is a problem. I also see few other related problems and looks > like the code could be buggy as well. > > Looking at the code I see the following caches in oauth component. > 1. OAuthCache > 2. AppInfoCache > > 3. Authoriz

Re: [Dev] Concern about the column length of SESSION_ID in IDN_AUTH_SESSION_STORE table

2015-10-26 Thread Maduranga Siriwardena
Noted. I'm looking into this. Thanks, Maduranga. On Tue, Oct 27, 2015 at 10:24 AM, Johann Nallathamby wrote: > Yes. This is a problem. I also see few other related problems and looks > like the code could be buggy as well. > > Looking at the code I see the following caches in oauth component. >

Re: [Dev] Concern about the column length of SESSION_ID in IDN_AUTH_SESSION_STORE table

2015-10-26 Thread Johann Nallathamby
Yes. This is a problem. I also see few other related problems and looks like the code could be buggy as well. Looking at the code I see the following caches in oauth component. 1. OAuthCache 2. AppInfoCache 3. AuthorizationGrantCache 4. ClaimCache 5. SessionDataCache No (5) looks like a duplicate

[Dev] Concern about the column length of SESSION_ID in IDN_AUTH_SESSION_STORE table

2015-10-26 Thread Nuwan Dias
Hi, The length of the column SESSION_ID of the IDN_AUTH_SESSION_STORE table is 100. But I see that the values written to that column are quite lengthy and inserts could fail for cases like email usernames or long tenant domains or long usernames, etc. See a sample value below. Eqnhj4j1X8ZJCW0ww56