Set user login before call WD application

Hello!
We calling WD application from SAP CRM B2B. Both applications requires authentification. Both applications works with users maintained thru SU01. But CRM can use user aliases and WD application can use ony logins which not so comfortable for users since logins has values too difficult to remember.
So we want to setup WD application in this way:
1) pass current user's login as special URL parameter
2) during load logon screen WD application read this parameter and automatically put this value into "user login" field and disable it
3) so user should only enter a password
So does WD application have such special URL parameter and is it possible to setup that value of this parameter will automatically put to "user login" field when application will be called?
Regards, Lev

Hi,
I am not very clear with the requirement you want if you want to get the user id of portal to be passed into the wdcomponent that can happen the via of it is a ?????.
IN wd component by means of Handle default button of the Main window you can fetch the userid from the portal.In handle default method the portal userid can be captured by using by means of  fm .
Regards,
Sana.

Similar Messages

  • Need a login strategy for JSF application

    I have inherited a JSF application (prototype) and need to modify this application to require a user login. Right now, the application requires a login only for a sub-portion of the application, well after JSF is up and running. That has to change to require the login before the JSF application is invoked.
    Basically, what I want to do is present a standard login form (user name, password, and "submit" button). This information will be sent to "j_security_check" where the servlet engine will validate the user against an LDAP server and then look up some user role information. I have no control over user authentication. Once the user has logged in, the application will be looking at user roles to determine what elements of the JSF application they are permitted to access.
    In addition, I need to be able to detect when the user's session has expired. When this occurs, I need to automatically reroute the user back to the login page. The prototype I inherited currently has all of the JSF backing beans check to see if the Session is still valid before executing any actions. This seems rather tedious and error-prone to me.
    I am not very familiar with security and user authentication issues (somebody else always wrote that part). I think the approach I need to take is: (1) create a login page. (2) create a login error page. (3) create a filter to check to see if the user's session has expired and, if so, re-route the request to the login page.
    My questions:
    1. Is this the best approach? If not , what is a better approach?
    2. Can I use JSF elements for the various login pages, or do I need to use JSP or HTML elements only?
    3. Can you point me to an example or tutorial that explains what I need to do?
    I've looked at a couple of servlet books, a JSF book, and Sun's online Java tutorials, but I don't see anything that looks quite like what I think I need to do here.
    Once I get passed security handling, the rest of the application is all JSF and will be easy to build.
    Thanks for your thoughts, comments, and assistance.

    I have three macs and use one of them as the TM backup destination (that mac has 4 large external disks, I devote one disk at a TM backup for each of the macs) - that mac is also the file server. (I do also use an externally attached HD on one of the other macs as redundancy.) The system works very well and when set up requires no administration, it's automatic! Since the backups are made hourly, I have fresher data than my old system of doing nightly backups using a traditional backup app.
    I even had to do a full restore last week on one of the macs and found the process worked flawlessly, had the mac up and running after the 2 hour restore finished.
    For critical data (business or professional) I also recommend doing occasional boot disk backups using another backup app. I do that with one of my macs. Note: although I have wireless capability with each mac, I use wired Ethernet connections for speed and reliability.

  • Failed to call Engine.StartLoginLogoutCallback to display user login dialog in C# code

    I'm upgrading our custom operator interface using C# running in NET 2.0. I use Microsoft Windows Forms controls for building GUI. TestStand version is 3.1. I grab TestStand Engine Class ActiveX Control from toolbox in to the form just as I did before in my VB project. In the project references list, AxTS and TS are added in. I can call TestStand API functions through the engine object, for example I can load sequence files, create property objects, get engine properties. But when I call engine's StartLoginLogoutCallback(false, true), the user login dialog is not displayed as expected. By tracing into UI message handler code, I do not see execution start and execution end UI message, which means the fontend callback sequence is not executed or is not executed properly. I doubt that calling engine's NewExecution in my code will also have problem though I haven't tested. Has anybody encountered same problem before? Thanks for any answer in advance.

    Hi Manooch,
    Thank you very much for the help. I tried Engine.CallFrontEndCallbackEx, but it still doesn't work for me. I'm using TestStand 3.1. I created a very simple C# Windows application with Visual Studio 2005. In the toolbox of the project I Selected "Choose Items..." context menu to display the "Choose Toolbox Items" dialog. In the "COM Components" tab of the dialog I selected "TestStand Engine Class" so that I got reference to the TestStand engine in my project. The project compiles OK, The method to login/logout is as following:
     private void StartLoginLogoutCallback(bool logoutOnly, bool isInitialLogin) {    PropertyObject args = _engine.NewPropertyObject (PropertyValueTypes.PropValType_Container, false, "", 0);     args.SetValBoolean ("logoutOnly", 1/*PropOption_InsertIfMissing*/, logoutOnly);    args.SetValBoolean ("isInitialLogin", 1, isInitialLogin);    _engine.CallFrontEndCallbackEx ("LoginLogout", args, TypeConflictHandlerTypes.ConflictHandler_Error, 0); }
    This method is called when the form is loaded:
     private void Form1_Load (object sender, EventArgs e) {    StartLoginLogoutCallback (false, true); }
    I also tried to call StartLoginLogoutCallback method in a button click event handler, but it doesn't work either. I also notice that when I press "Exit" button which causes form's Close() method to be called, the application form does not close and I have to kill the application with task manager or to stop debugging if it is running in debug mode.
    Could you please tell what's wrong? Thanks!
    - cfyao 

  • Setting of service permission to call other application

    I am trying to access from my portal application A another portal application B. To access 
    app B as standalone, it is generally a user authentication necessary. Now I am calling B as
    IView from a JSP file in A and want to display it in the content area.
    To enable every user access B I assigned anonymous user, read permission
    and end user permission on app B
    and other services which are referenced by B. However it still does'nt work and after hitting of submit
    button calling app B in A, user gets portal logon page to login
    before he accesses!
    Which configuration might be still required?
    Thanks

    I try to adapte the question, hope it is now more clear.
    I will access an application which is running under folowing URL in the portal:
    http://my-server:50100/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fother_vendors!2fevery_user!2fcom.root!2fCompanies!2fEP_Theme!2flayout!2fcom.tmt.ses.ZE_MyApplication
    When a user puts this URL he gets the portal logon to authenticate.
    But I will that the application is accessible for every user without any authentication.
    I did following configuration:
    -     the  security zone in portalapp.xml is defined as u2018no_safetyu2019
    -     there is no AuthScheme in the portalapp.xml defined
    -     the u2018anonymousu2019 and u2018Evryoneu2019 user are assigned read prmission for this application
    I hope, the issue is now more clear and you guys can help.
    Thanks

  • Can you rig Discoverer to use custom application user logins?

    This is using Discoverer 10.1.x and Oracle 10.2.x
    Instead of having database user accounts, is there a way to get Discoverer to use/recognize logins created for our application which are stored in a table?
    From what I've heard, 11i can do this but we're already gone forward with this structure and we really don't need all of the other things that come with that package.
    I've looked around and it looks like some form of implementation of the Discoverer login trigger may be able to be used but I'm still not sure.
    Thanks.
    Message was edited by:
    user526667 - changed the title

    Well let me explain as I know it - and the easiest would be to start with pre-10g.
    If you were installing Disco v4.x, then - if you have Oracle Apps installed - you could create an Apps EUL. This would mean that all users would be Apps users and when you setup the gateway info correctly in Disco Admin and Disco Desktop, when you logged in as an Apps user you would get a window displayed with the Apps responsibilities you were set up with and allow you to choose one (in Disco I mean).
    So, there was no requirement for an Applications Server middle layer.
    Then (well after v9), Disco 10g came on the scene. The 'normal' version that you'll see pushed - and by rights it's a great product with huge improvements - is to use the full blown version that requires the Oracle iAS 10g set up as well. When you do this, all the webby versions of: Disco Plus, Disco Viewer, Oracle Reports, Oracle Forms, Portals, SSO, etc. are handled in the middle iAS layer. Reason was that Oracle was tired of having multiple servers (ie: one for Forms, one for Reports, one for Disco, etc.) having to be maintained.
    So, that requirement means you HAVE to have the iAS middle layer.
    However ... you can still download - and therefore I would assume, purchase - a version (and a new one like 10g) that I think does not require the iAS middle layer. That would mean you'd be running 10g Plus, Viewer, Desktop and Admin via an Apps EUL, but not going through the iAS (as the EUL is stored in the database, not in the iAS). It may be called 'developer suite' these days, but not sure as there are different names / renames going around.
    You could easily use such a product, and then when you go to using the middle layer goodies / setup of iAS, then should be no problem as you're not altering the EUL at all per se, just connections.
    So, with the correct version of the newest software, I believe what you want to do is entirely possible - and upgrade to the iAS addition (so you get Portals and SSO) later.
    I'm sure others will comment on this, so hopefully I'm in the correct arena.
    Russ

  • Install an application 2 minutes after user login

    Hi,
    i have a problem with the installation of an application. the installation starts after the user login. thats a problem because we have sometimes short timeouts after the login so it would be great if someone can help me to set the installation 1 or 2 minutes after the user login.
    Is this possible? we use zenworks 6.5.20

    Originally Posted by ropi
    Hi,
    i have a problem with the installation of an application. the installation starts after the user login. thats a problem because we have sometimes short timeouts after the login so it would be great if someone can help me to set the installation 1 or 2 minutes after the user login.
    Is this possible? we use zenworks 6.5.20
    Maybe an option to use a sleep or delay command/exe, for example : RJL Software - Software - Utility - DelayExec
    Call that in a force run application that runs a cmd where the delay then gets started, waiting the amount of time specified and then the installation gets kicked off?
    If this works or not could also be dependent on rights needed etc...

  • Crash Minidump/Restart at Shutdown inside login, but Shutdown before any user logins is ok.

    Crash Minidump/Restart at Shutdown inside login, but Shutdown is ok  before any user logins.  Just Started.  Windows says error report says to update Video Driver, But HP 235558hc has current valid driver.  4 Year Old HP Pavillion Quad with Windows Vista.   Crash stop is "0x00000076"   Nuissance Problem at this point.

    Dear HP Passport Forum,
    I rechecked the MS suggestions and reset the Video  to Performance setting and the crash has stopped.
    I did clean 3 fans in the PC, but am still looking for the Video Card Fan.
    Please drop by crash question.
    Thanks
    Graybeard2013

  • Set "peoples or groups" field with current user "login name" in sharepoint list form using javascript

    hi friends
    i am trying to set peoples or groups field in sharepoint  list form with current user login name
    here my code
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    $(document).ready(function NewItemView () {
    var currentUser;
        if (SP.ClientContext != null) {
          SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser, 'SP.js');
        else {
          SP.SOD.executeFunc('sp.js', null, getCurrentUser);
        function getCurrentUser() {
          var context = new SP.ClientContext.get_current();
          var web = context.get_web();
          currentUser = web.get_currentUser();
          context.load(currentUser);
          context.executeQueryAsync(onSuccessMethod, onRequestFail);
        function onSuccessMethod(sender, args) {
          var account = currentUser.get_loginName();
          var accountEmail = currentUser.get_email();
          var currentUserAccount = account.substring(account.indexOf("|") + 1);
        SetAndResolvePeoplePicker("requester",account);
    // This function runs if the executeQueryAsync call fails.
        function onRequestFail(sender, args) {
          alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
     function SetAndResolvePeoplePicker(fieldName, userAccountName) {
       var controlName = fieldName;
        var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
        var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
        var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];
        peoplePickerEditor.val(userAccountName);
        spPeoplePicker.AddUnresolvedUserFromEditor(true);
    </script>
    but it is not working
    please help me

    Hi,
    According to your post, my understanding is that you wanted to set "peoples or groups" field with current user "login name" in SharePoint list form using JavaScript.
    To set "peoples or groups" field with current user "login name”,  you can use the below code:
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    function SetPickerValue(pickerid, key, dispval) {
    var xml = '<Entities Append="False" Error="" Separator=";" MaxHeight="3">';
    xml = xml + PreparePickerEntityXml(key, dispval);
    xml = xml + '</Entities>';
    EntityEditorCallback(xml, pickerid, true);
    function PreparePickerEntityXml(key, dispval) {
    return '<Entity Key="' + key + '" DisplayText="' + dispval + '" IsResolved="True" Description="' + key + '"><MultipleMatches /></Entity>';
    function GetCurrentUserAndInsertIntoUserField() {
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    this._currentUser = web.get_currentUser();
    context.load(this._currentUser);
    context.executeQueryAsync(Function.createDelegate(this, this.onSuccess),
    Function.createDelegate(this, this.onFailure));
    function onSuccess(sender, args) {
    SetPickerValue('ctl00_m_g_99f3303a_dffa_4436_8bfa_3511d9ffddc0_ctl00_ctl05_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_UserField', this._currentUser.get_loginName(),
    this._currentUser.get_title());
    function onFaiure(sender, args) {
    alert(args.get_message() + ' ' + args.get_stackTrace());
    ExecuteOrDelayUntilScriptLoaded(GetCurrentUserAndInsertIntoUserField, "sp.js");
    </script>
    More information:
    http://alexeybbb.blogspot.com/2012/10/sharepoint-set-peoplepicker-via-js.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • User Exit BEFORE Login

    Hi experts,
    I have a problem:
    We use differerent solutions for Web Access for externals - Web Dynpro and a normal GUI, shown via WEBGUI.
    So we create a new user (SU01) for the external and he can access the system
    But this problem may appear:
    The external tries to login via OPERATOR, DDIC, SAP*,... and lock this user - system will hang up!
    Solution can be a user exit BEFORE login, so we can check the user name (OPERATOR...) and don't authorize for login.
    Is there a user exit? I know the exit EXIT_SAPLSUSF_001 - bt this one is too late (after login).
    Also it would be important to know if the login is via SAPGUI oder via WEBGUI/Webdynpro (in EXIT_SAPLSUSF_001)
    Any ideas on this?

    Hi,
    why don't you unlock the User?
    Try this:
    data: wa_return type table of BAPIRET2.
    If sy-uname = 'OPERATOR'
    CALL FUNCTION 'BAPI_USER_UNLOCK'
      EXPORTING
        USERNAME       = sy-uname
      TABLES
        RETURN         = WA_return.
         CALL 'SYST_LOGOFF'
    endif.
    Hmmm...I will try this. But I'm not sure if I will reach this point if I try to login with the wrong password?!
    Edit: I tried to logon with a wrong password (before i created a hardcoded Breakpoint in the user exit). But I won't reach this point.
    So the question is not solved. If someone tries to logon as Operator several times, user Operater will be locked. How to prevent to log on via specific users (like Operator, DDIC...) in the Webgui?

  • Bundles set to launch on User Login do not always launch

    We use ZCM 10.3.1.0
    Clients use Windows 7 64-bit
    For some reason bundels set to launch at User login dont always lunch.
    I did recently changed SSD drive on my computer to a newer faster one. Now it almost never open up applications at startup. Anyone know why? We have anround 100 computers with more or less this problem. Why dont budles alwas run at startup?
    We use it to start our intranet homepage and some other hompages. We also launch Outlook.

    ttsgot,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Help needed, M getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem but instead I cannot login I to my itune account.

    Help needed,
    I am getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem , and i triyed it but still  I cannot login I to my itune account. Same message keeping. Popping up,  this problem started supricly today.

    Take a look at the instructions here.
    http://www.technogal.net/2012/03/this-is-not-test-user-account-please.html

  • How do you set up multiple users? Netscape use to let me choose which profile to start. Can I do this with Firefox and can I have email linked to each individual user/login? How?

    Netscape use to let me choose and create new profiles. after clicking on the icon for netscape i was prompted for which user profile i wanted. can i do this with firefox? also, each user profile was linked with its respective email account. can i do this through firefox as well? I need help. i have tried setting up firefox before and since i couldn't accomplish this i had given up but netscape is so old and most sites cause it to crash, i need a solution. i have 2 main profiles and 2 different email addresses. any advice or help, even not firefox related would be great

    Firefox doesn't have the same type of interface for the Profile Manager that Netscape did. You might want to look at SeaMonkey ''(which uses the same Mozilla Gecko code as Firefox has)''.
    http://www.seamonkey-project.org/

  • Run NAC agent before user login - Win7?

    Greetings all and thx in advance for any advice! Environment details - ISE 1.2. Patch 5 and cisco NAC agent 4.9.3.
    I have all of the authen/authz policies working and functioning properly, however, I have run into an issue with the NAC agent running posture only after user login.  This is causing some grief, mainly that users required login scripts can't run successfully until posture is compliant and the more permissive dACL is applied.  I was hoping that posture would complete long before windows login was even an option for the user but for some reason I appear to require an interactive login to get the NAC agent to run posturing.  Any thoughts or ideas on this?  I tried the NAC agent installation with a couple of different user accounts on the windows hosts but without success, it will only posture once I have interactive login.  I went pretty deep on the removal of the posture conditions to simply checking a single windows service but it didn't make any difference.  Thanks for any advice!!
    IA

    Thanks for the reply Saurav, I should have clarified a design point.  I am not doing any user authentication, only doing a machine authen.  As I mentioned I can't seem to posture pre-user authentication even though I am not doing any user authentication.
    IA

  • 8330 Call Forwarding​...How do I set the number of rings before calls are forwarded?

    8330 Call Forwarding...How do I set the number of rings before calls are forwarded? Right now it instantly forwards my calls but I don't want that. I want to change it so that let's say that if after 5 rings I don't answer the call is forwarded. I've looked everywhere for an answer but have had no luck. Any help would be appreciated. I am with Virgin Mobile if this makes a difference.
    Thank you 
    Message Edited by 8WDDdotcom on 08-01-2009 02:39 PM
    Message Edited by 8WDDdotcom on 08-01-2009 02:44 PM

    Well, call forwarding is a feature provided by your carrier -- it is not a function of the device. However it works for your carrier is how it works. Actually, from what I understand about call forwarding, it normally is an all-or-nothing circumstance...calls forward to the number you've asked them to be forwarded to, keeping you in a DND status. Regardless, though, if your carrier tells you how it works on their system, there's nothing that the device can do to override that. Unless there is some kind of 3rd party app that would do it, bypassing (somehow) the carrier network CF feature...but I've never heard of such a thing.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • User exit before the call of FM CCARD_AUTH_SIMULATION

    HI Gurus
    I wanna know if there is any user-exit before the call of FM CCARD_AUTH_SIMULATION, for the structure XVBAK.
    I want to manipulate with  the document category for that particular order before the order is saved.
    If anyone can provide me the user exit for the structure XVBAK then it will be helpful to me.
    Thanks
    Swarn

    go for implicit enhancement option.
    Reddy

Maybe you are looking for