Hi,
I am explaing these question as this will be easy to understand the problem-
1. How are you relating session ids to users? Is the user id listed in the logfile or do you have a separate list?
2. How are the session ids related to authentication methods? Again, is this information available in the logfile or do you have a separate list?
code
1.. Yes userID is is listed in the logfile by name userName. When we search for the userName, it gives us details about the userName and which sessionID's it belongs.SessionID comes after tid value and leaving one more field after that,consisting of 8digits. each seesion id gives us the details about which mechanism it belongs to.
2. Each sessionID belongs to a mechanism,if we specifically search for the SessionID's it will show the details like this.
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 0: 10081229: Message: ArAuthBinaryAuthRequestMgr::setSecurityInfo: security_info_offset [0] is invalid. Assuming security info not available.
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 60: 10081229: Entering
MechQnA::handleAuthRequest
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 60: 10081229: Exiting
MechQnA::handleAuthRequest
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 17: 10081229: Using session identifier
1:10081229
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Entering QnAModule::openSession
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Exiting QnAModule::openSession
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 17: 10081229: ArAuthFrameworkImpl::doPreAuth::1:10081229:: Authentication mechanism returned [0] for AuthIdentity
01018603
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Entering QnAModule::authenticate
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: QnA Session Id :
1:10081229
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: QNA Step - ASK AUTH QUESTIONS
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: User DB Query Details:
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: userName :
01018603
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Group ID :1020
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: User ID :-1
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Number of rows fetched from DB : 1
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Entering QnAUserData::dump
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Exiting QnAUserData::dump
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Set of questions(bitmap) selected : 3
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Session tracker Id associated with QnA challenge(auth round questions) :
1:10081229
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Exiting QnAModule::authenticate
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 17: 10081229: ArAuthFrameworkImpl::doAuth::1:10081229:: Authentication mechanism returned
1 for AuthIdentity
01018603
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Handle_NSPAdvice:: Handling NSPAdvice for mechanism
2
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 17: 10081229: ArAuthFrameworkImpl::doPostAuth::1:10081229:: Authentication mechanism returned
1 for AuthIdentity
01018603
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Entering QnAModule::closeSession
Tue May 19 22:29:12.634 2009 Morocco Standard Time INFO: pid 2172 tid 688: 160: 10081229: Exiting QnAModule::closeSession
Tue May 19 22:29:12.649 2009 Morocco Standard Time INFO: pid 2172 tid 688: 60: 10081229: Entering
MechQnA::handleAuthResMoreSteps
Tue May 19 22:29:12.649 2009 Morocco Standard Time INFO: pid 2172 tid 688: 60: 10081229: Exiting
MechQnA::handleAuthResMoreSteps
Tue May 19 22:29:12.649 2009 Morocco Standard Time INFO: pid 2172 tid 688: 60: 10081229: Sending Continue with challenge
Tue May 19 22:29:12.649 2009 Morocco Standard Time INFO: pid 2172 tid 688: 61: 10081229: Packet being sent
/code
This details will simply tell us which mechanis it belong as we can see the lines like "QnA Session Id :
1:10081229" in the sessionID related data. This information is available in the logfile. QnAModule is there in the logfile uploaded.
I think now question will be much clear,if not still kindly tell me. and i will try to elaborate more.
Thanks
NT
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.