Hi Lakshani,

Even if the SessionDataPersist/RememberMe is not enabled the logged in user
details will be available in the cache (session data will be removed after
a time out period). In general session data will be available in cache and
also in the session persist database.

Therefore you don't have to forcefully put everything to the db, you can
access from both cache and db.

On Mon, Mar 16, 2015 at 1:42 AM, Lakshani Gamage <[email protected]> wrote:

> Hi all,
> I'm working on my fast track project [1]. I have to monitor logged in
> users via  IS admin console. In the current implementation, logged in user
> details are saved in database if
> DBCPersistenceManager.SessionDataPersist.Enable = true. For that we have
> to enable below config in identity.xml.
>
> <JDBCPersistenceManager>
>         <SessionDataPersist>
>             <Enable>true</Enable>
>             <RememberMePeriod>60</RememberMePeriod>
>             <CleanUp>
>                 <Enable>false</Enable>
>                     <Period>1</Period>
>                     <TimeOut>60</TimeOut>
>             </CleanUp>
>             <Temporary>false</Temporary>
>         </SessionDataPersist>
>     </JDBCPersistenceManager>
>
> When above config is not enabled, when a user logs in, that user
> information is not saved in database. As I have to monitor all the logged
> in user details, I removed the
> DBCPersistenceManager.SessionDataPersist.Enable condition checking part
> from implementation of  authentication-framework component.  Is this ok?
>
> [1]. https://redmine.wso2.com/issues/3188
>
> Thank you.
> --
> Lakshani Gamage
>
> *Software Engineer*
> Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lasitha Wattaladeniya
Software Engineer
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94719397528
Blog : techreadme.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to