It happens like this, 1. Client calls GW with token 2. Gateway checks whether the token is in its cache 3. If not, it calls the KM to validate the token 4. When the KM responds, the token is stored in the GW cache (this could be flagged as a valid or invalid token depending on the KM's response).
Thanks, NuwanD. On Wed, Apr 2, 2014 at 9:21 PM, Dulanja Liyanage <[email protected]> wrote: > Thanks Sanjeewa! > > One more question related to that, when does a cache entry get added to > the Gateway Key cache? I believe it's only when the Keymanager issues the > token, isn't it? (Not each time client makes an API request) > > Thanks again for the help. > > > On Wed, Apr 2, 2014 at 12:57 PM, Sanjeewa Malalgoda <[email protected]>wrote: > >> As of now we cannot configure gateway cache timeouts. Its default cache >> timeout(15 minutes). >> >> Thanks >> sanjeewa. >> >> >> On Thu, Apr 3, 2014 at 12:05 AM, Dulanja Liyanage <[email protected]>wrote: >> >>> Hi, >>> >>> Would like to know if there's a place to configure Gateway cache >>> timeout. Couldn't find in api-manager.xml. >>> >>> Thanks >>> Dulanja >>> >>> -- >>> Dulanja Liyanage >>> Senior Software Engineer - WSO2 Inc. >>> M: +94776764717 >>> >> >> >> >> -- >> >> *Sanjeewa Malalgoda* >> WSO2 Inc. >> Mobile : +94713068779 >> >> <http://sanjeewamalalgoda.blogspot.com/>blog >> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/> >> >> >> > > > -- > Dulanja Liyanage > Senior Software Engineer - WSO2 Inc. > M: +94776764717 > -- Nuwan Dias Senior Software Engineer - WSO2, Inc. http://wso2.com email : [email protected] Phone : +94 777 775 729
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
