Inactivity timeout for TestStand user credentials

Hello all,
I'm curious if anyone has done any work on inactivity timeouts for TestStand user credentials; I am looking for some solution that will allow windows to lock, but if i have a test running and I walk away, my credentials will lock after the test has finished.  Anyone have any ideas on where I can start some research into this?
-Bill
John 3:16

Hi Bill,
In order to programmatically log out of TestStand, you first have to programmatically shut down the TestStand Engine. To execute the FrontEnd Callback to log out of TestStand, you will have to create a Property Object to pass to the LoginLogout Callback.
Locals.PropObj = RunState.Engine.NewPropertyObject(PropValType_Container,False,"",0),
Locals.PropObj.AsPropertyObject.SetValBoolean ("logoutOnly", PropOption_InsertIfMissing, True),
Locals.PropObj.AsPropertyObject.SetValBoolean ("isInitialLogin", PropOption_InsertIfMissing, False),
RunState.Engine.CallFrontEndCallbackEx("LoginLogout",Locals.PropObj.AsPropertyObject,ConflictHandler_Prompt,0)
You will also have to develop a code module to poll for UI messages after calling the first Shutdown sequence.
Are you intending to run a test, walk away, and come back hours later to a completed test and TestStand idle? Or are you wanting to abort an abandoned test and reset to the initial login screen? This is going to be a fairly complex implementation, so I'm trying to make sure of your intentions.
Regards,
Alexandra
National Instruments
Applications Engineer

Similar Messages

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • How to activate all inactive objects for current user

    Hi
    How to activate all inactive objects for current user ...
    ... I have found a (long winded) way to do this:
    - Environment / Inactive Objects
    - Add to Worklist
    - Display Worklist
    - Select All
    - Activate
    this will open a dialog titled "Inactive Objects for <username>"
    which has the exact functionality I need ... but I can't figure out how to get to this dialog directly - without so many intermediate steps
    the SAP docs repeatedly mention the ability to activate the inactive worklist - but do not mention how
    does anybody know the TCode for this dialog?
    thanks
    ps does the term "mass activation" apply to importing change requests rather than development activation?
    Edited by: FireBean500 on Jun 4, 2010 11:07 PM

    No other way. But usually it's far more simple as all objects are already in our own worklist.
    I wonder why your objects are not already in your worklist, as everytime you create or maintain an object, it is added to your worklist.

  • Windows keeps on asking for my user credentials

    Hi.
    As per subject, I keep on getting prompted to enter my user credentials whenever I open a mapped drive (which has been mapped before with the same credentials) or when I open the SharePoint site and also when
    I check out and edit a document from SharePoint.
    This is becoming debilitating.
    I have a very lengthy password as per our policy so I'm really despondent to have to enter this password every single time I access SharePoint.
    In the past, I only got prompted once during every session. Now, I get prompted multiple times a day. I will be prompted when I access SharePoint and then 10 seconds later, be prompted AGAIN when I check out and edit a document....WHAT?!
    I keep on selecting the checkbox "remember credentials" but this is to no avail. I've deleted all the credentials in Credential Manager numerous times and added them manually and then again automatically, all to no avail. I've even tried multiple
    entries for example "192.168.1.1" and also "http://192.168.1.1" as well as the FQDN for example "server01". So the same network resource has 3-4 different entries and none work!!
    Whenever I enter my credentials and select that checkbox to remember them, I can see in Credential Manager that the respective entries gets updated but what's the point if they are never utilized?
    I've also checked the services and changed the Credential Manager to start automatically without delay.
    I have appealed for help elsewhere (WindowsForums, SpiceWorks, TechRepublic) but no one seems to have any definitive answers or solutions. I've been having this issue for YEARS now but want to do something about it now as it's becoming debilitating.
    Please help!
    Setup:
    Windows 7, 64bit
    Office 2010 (I'm testing Office 2013 as well)
    SharePoint 2010
    Service Pack 1

    Hi,
    "Multiple logon prompt issue" can be caused by many factors, please take a look of this blog:
    Multiple Logon while open office Document from SharePoint
    http://blogs.technet.com/b/steve_chen/archive/2010/06/25/multiple-logon-while-open-office-document-from-sharepoint.aspx
    You can bypassing your proxy server for local addresses or adding a team Web site to the list of trusted intranet sites for a test, steps are listed in this link
    Troubleshooting: I Keep Getting Prompted for a User Name and Password
    http://technet.microsoft.com/en-us/library/cc750194.aspx
    Sometimes, when a Intranet site is identified as an Internet site, it will cause Internet Explorer to prompt you for credentials when you access the intranet Web sites that require authentication
    Intranet site is identified as an Internet site when you use an FQDN or an IP address
    http://support.microsoft.com/kb/303650/en-us
    Yolanda Zhu
    TechNet Community Support

  • Looking for TestStand users in Ottawa, Ontario

    Sorry if this is off-topic. As subject says I am looking for users in Ottawa area. Please reply via e-mail or call @(613)591-3878 ext.237
    Thank you,
    Michael Gafanovitch

    Michael,
    Is there any information you can give for your request? It is unclear if you are looking for a TestStand programmer or those who need a TestStand programmer. Or, perhaps there are other categories.

  • Elevate wrapper / auto prompt for different user credentials APP-V 5.0 for e.g SCCM / SCVMM Consoles

    Hi I have a couple of questions about running APP-V programs as a different user,
    1. What is the best way to get specific APP-V 5 package to automatically prompt for different (e.g. Admin ) credentials when it launches for E.g the Microsoft System Centre consoles? 
    2. If I publish an app via the APP-V server, when I do a shift right click run as different user/admin on an APP-V package it fails to launch. It's as if the other user does not have rights to the package?
    However, when I run the MSI that comes with an APP-V package on a test client, I can do Run as different user.
    Will I need to edit something in the DeploymentConfig / UserConfig xml files?
    Kind regards,
    Pete

    Thanks will use global publishing.
    To test elevated run as, I decided to try and create a Powershell script for launching Certificate Manager.
    This is what I had.
    A file called Test.PS1
    Start-Process powershell -Credential $ID -ArgumentList “Start-Process -FilePath $env:SystemRoot\System32\mmc.exe -WorkingDirectory $PSHOME -ArgumentList $env:SystemRoot\System32\certmgr.msc -Verb RunAs”
    A shortcut created to Test.ps1 on Desktop
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -NoProfile -WindowStyle Hidden -file C:\PS2\Test.ps1
    This worked but when I came to package it it didn't work
    The shortcut changed to  the below in the package and wouldn't launch.
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -NoProfile -WindowStyle Hidden -file %ALLUSERSPROFILE%\Microsoft\AppV\Client\Integration\4307428B-B418-4C08-B9CA-14DA9FCB1C8C\Root\Test.ps1 /appvve:4307428B-B418-4C08-B9CA-14DA9
    I can see instructions on how to embed a powershell script in deployment / user config, but no instructions on how to package a powershell script.

  • SAP inactivity timeout

    Is there a way to set the SAP gui inactivity timeout for a specific user or group of users?

    Hi Chris,
    Note <a href="http://service.sap.com/sap/support/notes/27320">27320</a> has descriptions about rdisp/keepalive and rdisp/gui_auto_logout, are you looking for something else in this case?
    Regards, Mark

  • ACE timeout for different Serverfarms

    I have a Business unit that publishes an application that is externally available. We Reverse Proxy the VIP to allow the connection externally. They would like to impose different application timeouts for internal users (1 hour) and external users (30 Minutes) . The application can not differentiate between an external or internal source so our option is either seperate serverfarms with seperate real servers with different configuration files.
    My question is, is there any other way to do this within the ACE so that we don't have to spin up seperate Servers with different configuration files.
    I would also like  to maintain one VIP address if possible.

    You can maintain 1 VIP but you'll have to use header rewrite and work with dev. team of your application.
    It's related to the session state tracked by a cookie the application sends (either as a Set-Cookie or a token embedded in URLs)
    Make two different serverfarms (with the same set of real servers).
    Make a class-map matching the IP addresses of internal users (RFC 1918 ?)
    For this class-map, add a field in each HTTP request coming in
    "X-Internal:YES"
    apply this on each request with the option
    header-rewrite per-request
    The application team just has to parse each header for the pattern you've just added and then changing the timeout value to the one they want.
    For the class-default (external users) you can add "X-Internal:NO", it's cleaner but not strictly necessary.

  • How the user credentials are transported using OBIEE webservice

    Hi, we're trying to using the OBIEE web service api to interface with OBIEE, and would like to know in detail how the user credentials being passed with the web services request?. Which mechanism (protocol, technology) do this WebService use to provide security for the user credentials?
    Thanks.

    The Oracle BI Web Services API is a SOAP-based API therefore all the information is sent via HTTP requests containing XML messages. By default OBIEE will run the Presentation Services Web App server in non-secure mode. Therefore all the user credentials will be basically sent in clear text and will be subject to "a man in the middle" attack. It is possible to setup the Presentation Services to run in securely using HTTPS but I am unsure if the API will work over HTTPS.

  • How the user credentials are transported using BusinessObjects SDK

    Hi, I would like to know in detail how the user credentials is passed with the java call (logon). Are they encrypted during the transport? Which mechanism (protocol, technology) does the sdk use to provide security for the user credentials?
    Thanks

    The BusinessObjects Enterprise SDK communicates with BusinessObjects Enterprise servers using a proprietary CORBA framework via TCP/IP. 
    This is so inter-server and server-client communication can be done transparently from the perspective of the API whether all services are on one or multiple machines.
    You can configure BusinessObjects Enterprise services to use SSL through this communication.  How you would do so is described in the Admin Guide.
    You'd configure the SDK as you would the servers in as described in the Admin Guide.
    For the BusinessObjects Enterprise Java SDK, that means specifying the four Java System Properties (as you would for Java InfoView) to point to the SSL configuration files.
    That takes care of the connection from the SDK to Enterprise.
    Set-up of secure communication from web browser to web app using the SDK is a separate matter.
    By the way, the BusinessObjects Enterprise SDK is fully tested an supported only when used in a web application.  Desktop and standalone apps using the Enterprise SDK are untested.
    Sincerely,
    Ted Ueda

  • Global inactivity timeout

    how can i set the global inactivity timeout for different domains because our clients are located in different domains
    thanks
    mish

    ".com"

  • CR prompts for user credentials after refresh even though I'm using SSO

    Hello Experts,
    We have a problem with a customeru2019s project concerning Crystal Reportu2019s Single Sign On feature:
    Even though weu2019re using SSO, Crystal Reports prompts for user credentials every time a refresh is performed manually in the browser.
    We already checked SAP note [1214594 - How to avoid database login prompts when refreshing reports in Crystal Reports|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313334333533393334%7D.do]. The note suggests using Microsoft Windows authentication (trusted connection or operating system authentication) u2013 unfortunately we cannot use this kind of authentication in our project.
    Do you have any hint, idea or suggestions?
    Thank you in advance!

    Hello,
    What kind of Project are you developing? Search for Post Back in the SDK forum and Kbase system so you can keep the log on token active. Likely what is happening is the Token or connection times out after 20 minutes, which is IIS's default timeout. Using the postback method is one way of keeping the SSO connection active.
    Thank you
    Don

  • Discoverer Plus and the SSO GUIT (Global User Inactivity Timeout)

    Does Discoverer Plus obey the Global User Inactivity Timeout?
    We've enabled SSO for Discoverer Plus and Viewer (v. 9.0.4.45.02), and we've
    configured the Global User Inactivity Timeout. For testing, we set GUIT to 5 minutes.
    When we re-activate a Viewer session after more than 5 minutes of no activity,
    we're prompted for our SSO username/password, as expected.
    If we leave a Plus session inactive for more than 5 minutes, we are not prompted for our SSO username/password.
    If we leave a Plus session inactive for 30 minutes, a pop-up appears warning us
    that Plus will exit if we don't take some action. This pop-up is driven by the fact that we set Timeout to 30 minutes in the pref.txt file. Plus behaved this way before we enabled it for SSO.
    We thought that Plus and Viewer are both governed by GUIT in the SSO environment. Are we wrong about that?

    Yes, i am having the same problem with the Timeout. No matter what i have the timeout set to, the portal never redirects to the login, the users stay logged in indefinitely. We are running 10gAS (10.1.2). I have a feeling it has something to do with the cookie not being properly set. If ANYONE has any experience with this please reply. thanks so much
    Steve

  • Unable to open a report and asking for user credentials

    Hi,
    when i am trying to open a crystal report, i am asking for user credentials and my URL is directed to the below URL
    http://hostname/PlatformServices/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3FSERVICE%3D%252FOpenDocument%252FappService.do%26OBJIDS%3D20016421%26backUrl%3D%252Fcontent%252Fview.do%26PREF%3DmaxOpageUt%253D200%253BmaxOpageC%253D10%253Btz%253DUS%252FPacific%253BmUnit%253Dinch%253BshowFilters%253Dtrue%253BsmtpFrom%253Dtrue%253BpromptForUnsavedData%253Dtrue%253B%26CONTAINERID%3D6424083%26backContext%3D%252FPlatformServices%26LOC%3Den%26APPKIND%3DInfoView%26PVL%3Den%26ACTID%3D280%26service%3Dtimeout&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=servername%3A6600&authenticationVisible=false&authType=secEnterprise&sso=false&sm=true&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
    Please help me on this

    Hi,
            This is happening to all of the users. And this kind of behaviour is happening frequently to most of the users but as for me and some of us this is not happening frequently.
    And we are using Crystal Reports 2008 ie. CR12.
    -VinodC

  • How do you stop BSPs on WebSEAL for asking for user-credentials?

    Hi
    We are currently having an issue with BSP Pages. When we test the BSP pages on the R/3 system they work OK. When we test them directly on the Portal then they too also work. The problem is that they are not working properly on our Intranet.
    The intranet that we use is an IBM Tivoli product (also known as WebSEAL). We currently have WebSEAL SSO to our SAP Portal. This is working OK. When we use WebSEAL to access the portal we are prompted to enter our user-id and password so that the BSP page can be displayed. This should not be happening and it defeats the purpose of SSO. I have attached a screen shot document to demonstate this.
    Some time ago we had a similar issue where the transactions on the portal (when executed from WebSEAL) were giving us a Webdynpro time-out error. I later determined that the cookie information was not being passed to WebSEAL. To fix this, I went to the Visual Administrator and went to server >> services >> web container and for the web container "sap.com/irj" I went to the cookie configuration to add a session cookie. By doing this I fixed my previous problem.
    Coming back to my problem, I had a junction created in WebSEAL to point to the bsp directory (sap/bc/sap/bsp/*) on the host concerned. I had both a SSL and TCP junction created both resulted in error messages - stating that the client (SAP) is asking for user credentials.
    Hoping that I have provided enough information above my question is as follows:
    (1) How can I get the BSP messages to work on WebSEAL such that it will not ask for user credentials to be entered? Would this involve making a further change to a Web Container? If so - which container also needs a session cookie to be generated?
    Thanks
    Kind Regards
    Rajdeep Kumar

    Hi Peter
    I am having an issue with the re-direct and am hoping you might be able to provide a little assistance. If not then not to worry.
    My security department have logged a call with IBM 2 days ago yet have not received any response.
    In your document you mention that you need to have a junction to AS-JAVA and a junction to AS-ABAP.
    We have created the junctions "/sapep" (for AS-JAVA) and "saphr1" (for AS-ABAP).
    The junction /sapep" also contains the junction mapping entries "/irj/" and "/SSOTicket/".
    The direct URL to the hidden image is : https://uadsfi01.auiag.corp:53001/SSOTicket/1x1.gif. I have tested this (using my user id and password) and it works OK.
    When testing the image through TAM (https://test.insideiaghome.iaglimited.net/sapep/SSOTicket/1x1.gif) we get an "unexpected authentication challenge"
    I have reviewed the log below and it seems that we are having an authentication issue with the image:
    ==(START OF LOG)==
    2008-06-16-19:59:58.365+10:00I----- thread(136) trace.pdweb.debug:2 /sand/cholt/laura_amweb510_11LA/src/pdweb/wand/wand/log.c:309: -
    PD ===> BackEnd -
    Thread_ID:52943
    GET /SSOTicket/1x1.gif HTTP/1.1
    via: HTTP/1.1 uattam01:443
    host: uadsfi01.auiag.corp:53001
    user-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; MS-RTC LM 8; .NET CLR 2.0.50727)
    iv_server_name: uatin1-webseald-uattam01
    accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, /
    iagsapid: 52975
    accept-language: en-au
    referer: https://test.insideiaghome.iaglimited.net/sapabap.html
    connection: close
    iv-user: s52975
    2008-06-16-19:59:58.373+10:00I----- thread(136) trace.pdweb.debug:2 /sand/cholt/laura_amweb510_11LA/src/pdweb/wand/wand/log.c:309: -
    PD <=== BackEnd -
    Thread_ID:52943
    HTTP/1.1 401 Unauthorized
    content-type: text/html
    date: Mon, 16 Jun 2008 09:59:58 GMT
    cache-control: no-cache
    content-length: 1787
    www-authenticate: Basic realm="Upload Protected Area"
    server: SAP J2EE Engine/7.00
    expires: 0
    pragma: no-cache
    connection: close
    ==(END OF LOG)==
    When logging into the SAP Portal directly general user ids have no problem accessing this (Non-Administrator portal users), however through Tivoli it is causing an issue.
    Do you know what may be causing this issue?
    Thanks in advance for any assistance you can offer.
    Kind Regards
    Rajdeep Kumar

Maybe you are looking for