1 Reply Latest reply on Jan 13, 2006 2:44 AM by Scott Stark

    User credentials retrieval from security subject in a multi-

    jingyi_wang Newbie

      I ran into a situation in which multi threads run big volume tests using the same user id. During execution, user credentials need to be retrieved from security subject from time to time. The problem is that upon user time out (set by DefaultCacheTimeOut), logout() is called from a thread, which causes the other threads' retrieval to receive null. This is corrected when any subsequent transaction logs back in and repopulates the subject. However, this causes my entire test to error out once a while (time interval determined by DefaultCacheTimeOut), which I am trying to fix. Does anyone know any viable solution to this situation?