SSO b/w portal and webdynpro application customized login??

Hi,
I  have one webdynpro application which has a login screen (Created as Webdynpro view). If user enters user/passord, the same gets checked from a custom table in the db (Method for checking user credtentials has been written in view controller). if user credentials are correct it performs some actions defined in webdynpro application.
I want to configure SSO b/w portal and this webdynpro application sothat when user logon to the portal and open this webdypro application, Login page of webdynpro application should not be shown i.e user credentials should be passed from portal and corresponding authentication method in webdynpro should be called to authenticate the user.
How to do the same without touching webdypro application ?
Can we call a method of webdynpro application from portal?
Regards
Deepak

1) To enable ticket authentication for the web dynpro iviews, you must maintain the definition of the system running the Web Dynpro application and set logon method to "SAPLOG"
2)Since you have customized login screen, you need to bypass this screen manually when you login from portal.
Add parameter to the application while defining the iview.Give some constant value.
Check value of this parameter in webdynpro and fire to next view.

Similar Messages

  • SAP Enterprise Portals and Webdynpro application development environment

    Hi,
    Is there a way to set up a Development environment for SAP Enterprise Portals and Webdynpro on a laptop/desktop without SAP-GUI.
    Any help/guidance will be truly appreciated.
    Thanks,
    Prasanna

    hi,
    can you look at this
    [http://www.sap-hefte.de/download/dateien/1000/075_leseprobe.pdf]
    [http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Tutorial_1.pdf]
    [http://www.sercononline.com/suntechnovate07/images/images/13%20-%20Rajiv%20Jain%20-%20SAP.pdf]
    Regards,
    Muralidhar

  • How to set up SSO between e-portal employee node & ebill customer node?

    We have a requirement to set up SSO between e-portal employee node & ebill customer node.
    I am told that sso is possible only between 2 employee nodes.
    Please advise.

    Not sure I understand which part is failing.
    Is it the C program calling your packaged function? Or does the error occur in the PL/SQL code, in which case you should be able to pinpoint where it's wrong?
    A few comments :
    1) Using DOM to build XML out of relational data? What for? Use SQL/XML functions.
    2) Giving sample data is usually great, but it's not useful here since we can't run your code. We're missing the base tables.
    3) This is wrong :
    vStrSqlQuery := 'SELECT * FROM ' || vTblName                     || ' WHERE record_update_tms <= TO_DATE(''' || TO_CHAR(vLastPubTms, 'MM/DD/YYYY HH24:MI:SS') || ''', ''MM/DD/YYYY HH24:MI:SS'') ' ;
    A bind variable should be used here for the date.
    4) This is wrong :
    elmt_value := xmldom.createTextNode (doc, l_clob(1));
    createTextNode does not support CLOB so it will fail as soon as the CLOB you're trying to pass exceeds 32k.
    Maybe that's the problem you're referring to?
    5) This is most wrong :
         l_clob(1):=REPLACE(l_clob(1),'&lt;?xml version=&quot;1.0&quot;?&gt;', NULL); 
         l_clob(1):=REPLACE(l_clob(1),'&lt;', '<'); 
         l_clob(1):=REPLACE(l_clob(1),'&gt;', '>'); 
    I understand what you're trying to do but it's not the correct way.
    You're trying to convert a text() node representing XML in escaped form back to XML content.
    The problem is that there are other things to take care of besides just '&lt;' and '&gt;'.
    If you want to insert an XML node into an existing document, treat that as an XML node, not as a string.
    Anyway,
    Anyone that can help me to find out the required magic number
    That would be a bad idea. Fix what needs to be fixed.
    And please clearly state which part is failing : the C program or the PL/SQL code?
    I'd vote for PL/SQL, as pointed out in [4].

  • SSO issue in portal and BW report resources

    Hi
    I have a BW reports displayed in portal. user mapping is configured in such a way thta multiple users in portal are mapped with single user of BW system.
    When BW report is displayed on portal, some of resources ( like images and js files as i see in http watch) are not fetched with reports and for those we need to login again as BW user.
    i checked SSO configuration between portal and BW, it seems to be correct as data is displayed in BW report.
    could you please suggest the solution of getting it fixed?
    Thanks in advance
    Pranav

    Hi,
    The problem is in the BEx Web configuration.
    Check whether the the Mime repository has the images or not in BI 7 server.
    If Mime has the images then the BI and portal configuration is not done properly using the BI template installer.
    You need to set the set the BWMANDT in table RSADMINA to current used default client.
    Also try to set the BEx web,
    The problem might get resolved after setting BEx Web.
    Required Steps
    You can perform an initial check of the automatic configuration with the
    following steps:
    Note 917950 - SAP NetWeaver 2004s: Setting Up BEx Web
    1. Execute the report RSPOR_SETUP with transaction SE38 (or SA38; or you
    can execute the report from the SAP Reference IMG, see Documentation
    below)
    2. Use value help of entry field Program ID (or RFC Destination) to
    choose <BI_SID>_<J2EE_HOSTNAME>_<J2EE_SID> as RFC Destination (this
    destination is created by the Template Installer)
    3. Enter Portal SID (required to check step 10)
    4. Press button Execute
    Placeholder <BI_SID> correspond to the field BACKEND_SID of the Template
    Installer's Data Entry. <J2EE_HOSTNAME> correspond to the field J2EE HOST
    and <J2EE_SID> to J2EE SID.

  • To get login details of portal into webdynpro application

    Hi All,
             How to get the portal login details(user name) into my webdynpro application.
    Thank you,
    Harsha P.

    Hi,
    If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
    Regards,
    Karri

  • How to find out who is logged into portal through webdynpro application

    hi,
    whenever anyone logs in through the portal and runs a webdynpro iview, the webdynpro application should be such that it gives the name of the user logged in.
    Eg, if i logiin and run the webdynpro iview, the application should display that I have logged in.
    how can this be done?
    its urgent.

    add the jar file com.sap.security.api.jar
    IWDClientUser wdUser = null;
    IUser user = null;
    IUserAccount[] acct = null;
      try
         wdUser = WDClientUser.getCurrentUser();
         user = wdUser.getSAPUser();
         if (user!=null)
              acct = user.getUserAccounts();
              if (acct[0] != null)
                   strUserID = acct[0].getLogonUid();
                   wdContext.currentContextElement().setCa_UserId(strUserID);
              else
                   strUserID = "acc is null";
         else
              strUserID = "user is null";

  • Login to Portal by webdynpro application

    I want two input fields in my web dynpro application for userid pwd. after pressing the button i want to retrieve the information of that particular user like assigned Roles to the user. How can i do this?

    Hi Pankaj,
    <b>refer to the code below to access the portal user:</b>
    IWDClientUser user_info = WDClientUser.getCurrentUser();
    IUser user_name = user_info.getSAPUser();
    String saproles[] = UMFactory.getRoleFactory().getRolesOfUser(user_name.getUid(), true);
    Now the above array will give u the list of roles assigned to the user.
    <b>To check for any user given in any input field on screen</b>
    IUser user = UMFactory.getUserFactory().getUserByLogonID(<user-name-text>);
    Use the link below for further info:
    <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=16442">https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=16442</a>
    Regards
    Deepak
    Message was edited by:
            Deepak Gupta

  • Login to portal from webdynpro application

    I want two input fields in my web dynpro application for userid pwd. after pressing the button i want to retrieve the information of that particular user like assigned Roles to the user. How can i do this?

    Hi;
    Have a look at IUserFactory.getUserByLogonID
    Hope this helps.
    J. Unterste Heufken

  • SSO between Portal and Java WD application

    Hi Experts,
    I am using CE 7.2 on localhost and I am very new to SAP.
    I need to know how can I get SSO between Portal and Java WD.  I have a WD application that displays the logged in user using "IUser currentUser = WDClientUser.getCurrentUser().getSAPUser()", as well I can use "IUser user = UMFactory.getAuthenticator().getLoggedInUser()".  Both work.
    Q1. What is the difference in the 2 above?
    Q2. My WD application is set to authenticate user.  The WD application is in URL iView.  I need SSO between Portal and WD application.   Is there a way to get this SSO without SAP Backend (ECC), for now I just need SSO between Portal and Java WD appl.
    Everything is in localhost.
    Please advice. Thanks.

    > need to know how can I get SSO between Portal and Java WD.
    Then I suggest you ask your question in the Web Dynpro Java forum instead of the Web Dynpro ABAP one.

  • SSO between SAP Portal 7.3 and Ruby on Rails

    Hello Everyone,
    We are planning to integrate SAP Portal 7.3 and a RoR application and I am wondering If someone can share some experience (If you have any of course) on how to establish SSO between SAP Portal and RoR.
    The SAP Portal will act as service provided and RoR as a consumer, we don't have LDAP, so the Portal UME is in ABAP and RoR uses an own UME database. We have SSO between our Portal and SAP Backend systems.
    In RoR customers will have access to their own information (Invoices, etc..) that will be provided by the backend system.
    URL transaction and iFrames is not an option for us.
    The second option is to call Web Services, directly or through the SAP Portal (we are using a central sr).
    I am a NetWeaver consultant who heard about RoR but have no experience in this field.
    All help and tips are greatly appreciated!.
    Regards,
    Ridouan

    We used Client certificates. Still working on the PoC.

  • Portal and BW SSO on different domains

    Hi Gurus,
    we have portal and BW systems, Portal domain name is portal.abc.com and bw domain name is bw.xyz.com, can we do a SSO between these two systems, is there any concept of reverse proxy or something to acheive this?
    Thanks in Advance.
    Jo

    duplicated one.... already you posted in "portal implementation".
    There are many threads, blogs available in SDN for SSO b/w portal and BW.... for sample
    Looking for a document in order to implement SSO between the portal and BW
    Connecting BW to EP for SSO
    Single Sign On between EP6.0 and BW 3.5
    Connect EP to BI
    you can do with reverse proxy but I didnt find more than this below posts
    Portal, BI, & SSO with Reverse Proxy
    /thread/266983 [original link is broken]
    regards,
    Pradeep

  • How to use WebDynpro Applications in Guided Procedure?

    Hello,
    i want to use a WebDynpro    application as a part of a guided procedure. Therefor i developed a simple WebDynpro    application as described in the NetWeaver    Developer Studio Help. The Application consists of only two views. The first view is to enter data, the second displays them. So far so good....
    In the next step i wanted to integrate this application as a CallableObject for execution in my guided procedures process. The wizard asks in step 2 for the "Development component" and WebDynpro    Application. But where do it get this information? Indifferently what path i enter, it only returns an error the the object is not available on the server.
    EDIT: The path to the webdynpro application is something like this: http://host:port/webdynpro/dispatcher/local/WebDynproUITest/UITest
    kind regards,
    Matthias

    Hello Dipankar,
    thx for the blog! This really helped a lot!
    The problem is, that you cant test the WebDynpro as a stand-alone application. What would be the best way to develop a WebDynpro Application for GP?
    Is there a way to start with a 'normal' WebDynpro Application and convert this when finished in a "guided procedure ready WebDynpro for CE Application"?
    I think i will contact you next week with more questions, for now on its weekend
    regards,
    Matthias

  • WebCenter Portal and Portlet support in JDeveloper 11.1.2 version

    Hi,
    When the WebCenter Portal and Portlet application creation will be available within JDeveloper 11.1.2 version ?
    Thanks
    Eli

    Thanks for your answer.
    My Requirements are:
    1) Develope a stand alone ADF FACES(JSF 2.0) application
    2) Develope a Portal using webcenter- We need to implement portlets by taking some of the functonality that was implemented in section (1) and use the Portlet-JSF bridge to create the portlets.
    Basically, we need to support JSF 2.0 standart.
    As I understood I must use the JDeveloper 11.1.2 version as it support the JSF 2.0. but what about the Webcenter and the Portlet-JSF bridge to support JSF 2.0 ?
    I will be happy to get a clarification for those requirments.
    Thanks a lot !
    Eli

  • How to call custom Login Module from JSP

    Hi,
    I am stuck with the following issue:
    1) Exactly as presented in help.sap.com (http://help.sap.com/saphelp_nw04/helpdata/en/3f/1be040e136742ae10000000a155106/content.htm) I created custom login module and deployed it as a library on J2EE server. When I configured it to be used for my applications in the Security provider but I am getting "No user name provided" exception everytime when my applications use this custom login module.
    2) I realized that I would need to call my custom module somewhere within my application (simple JSP) using LoginContext class and then use MyLoginContext.login() spec to initiate login process. But I am not able to pass CallbackHandler parameters from JSP application to my custom login module.
    So I have the following questions:
    1. Can I pass parameters using LoginContext and CallbackHandler from JSP to my custom login module (created as exact copy of HELP.SAP.COM example) or this module cannot be used this way.
    2. How to pass CallbackHandler correctly to my custom login module from JSP. When I am trying to use CallbackHandler, I am getting "Abstract Class cannot be called" error.
    I'd appreciate any little help on this matter.
    Thanks and regards,
    Mike

    You have two alternatives to do this:
    You can declare your JSP as a protected resource with the use of the deployment descriptors of the application (web.xml) and add the custom login module in the authentication stack of the application. This way, you will use container-based authentication, i.e. the Web Container will enforce the authentication and it will call the custom login module before it dispatches to the JSP. I recommend you this approach because it requires less coding and it makes the whole thing a matter of configuration. The configuration can be later on enhanced or changed runtime without the need to re-build and re-deploy the application. If you choose this approach you can go to the documentation of the server for help on how to modify the login module stack of the application.
    You can also use programmatic authentication by using JAAS API. To do this you need to create a custom security policy configuration with login module stack containing the custom login module, and then use the standard JAAS mechanism - new LoginContext(<configuration>, <callback-handler>).login(). This approach requires that you write your own callback handler and handle any LoginException.
    Let us know which approach you prefer and whether you have difficulties implementing it!

  • Netweaver04 : Custom Login Module . Visual Admin : class not found

    Hi all ,
    using the Sneak Preview of Netweaver04 and Portal .
    Coded a Custom Login Module via the TechEd04 example and deployed it to the portal with security_api.jar attached ...works great .
    BUT when I try to login to the Visual Admin tool it cannot find the JARS I have put in admin/lib and I get a NoClassDefFound error on a class in security_api.jar .
    How do I  get the Visual Admin tool to find that JAR ?
    Regards
    Daniel

    Hi Daniel,
    sounds like a reference is missing.
    Check this:
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/23e4407211732ae10000000a155106/frameset.htm
    Regards, Karsten

Maybe you are looking for

  • I want to upgrade my hd to a 750 or 500 on my mbp what do i need to match(specs)

    im on a mid 2010, i am thinking about upgrading the hard drive(possibly later on trading it in.  But for the mean time what do i need to match? i know they have speeds, is there anything else? 2.5" as well right? how would you go about transfering yo

  • Errors on page after applying Java plugin1.3.1_02

    Hi, I need assistance on how to troubleshoot my console, with the following errors: java.lang.VerifyError: (class: Solar, methode: DeleteServer signature: ()V) Illegal use of nonvirtual function call. Another machine has the error: load: class Solar.

  • Data Analysis

    Hello, I am trying to analyze data from a recent survey. I have entered all of my data using numeric values (i.e. 1-for answer 1, 2-for answer 2, etc). I have each column as the question number and each row as the participant number and their respons

  • I bought my first mac in May. Can i get iWork free now that i have Mavericks?

    I bought my first mac in May. Can i get iWork free now that i have Mavericks?

  • Cant convert CR2 files to DNG.

    I downloaded Abobe DNG converter but then discovered that it couldn't convert the CR2 files from my canon EOS D550 to DNGs. So I downloaded the update that said it would be able to do that but it wont install. Any ideas how to get round this. Abobe w