Custom Login for each WebDynPro App

Hello All,
We are trying to develop non-Portal WebDynPro applications. Since, checking the authentication box for the WebDynPro Applications will always cause the standard UME Login Screen to appear, I was wondering if this can be customized such that I have different one for <b>each</b> Application.
This is not about customizing Portal Login Screen.
Thanks,
Kiran

Pran,
Thank you so much for the reply.
I have implemented it in a different way. I have a normal login jsp taking username/pwd and with the "action" pointing to a servlet. The servlet has the following code.
IUser user = UMFactory.getAuthenticator().getLoggedInUser(request, response);
          if (null == user) {
               try {
                    UMFactory.getLogonAuthenticator().logon(request, response, "uidpwdlogon");
               } catch (LoginException e) {
               RequestDispatcher rd = request.getRequestDispatcher("unauthorised.html");
               rd.forward(request, response);
          response.sendRedirect("http://localhost:50000/webdynpro/dispatcher/local/Welcome/MyWebDynProAppl?SAPtestId=2");     
I saw that there was a cookie being generated MYSAPSSO2.
Now, my question is, How different is this approach compared to yours? I looked at the "Security provider" for my application in Visual admin and saw that the authentication template is "no" with just BasicPasswordLoginModule/Sufficient/{}.
Is this anyway less/more secure than what you mentioned?
Also, what do u suggest as a better way of redirecting? Is response.sendredirect the only option?
Do you know what "SAPtestId=2" mean in the URL of the webdynpro application that I need to redirect to?
Thank you,
Kiran

Similar Messages

  • Fbl5n: The printer provides me only one customer items for each page...

    Hi all,
    launching t.code FBL5N, and printing the repost list, the printer provides me only one customer items for each page...
    I'd like obtaining more customer items for each page...
    What to do?
    Thanks

    Hi Umberto..
    Thats how the standard report works..
    To meet your requirement, you would probably need to look at another standard report.
    In case you need further clarification, please feel free to write to me..
    Good Luck!
    Lucid-Mind...

  • How to create a custom measure for each level of a dimension

    Hi all!
    Can Anyone please explain me with an example, how to create a custom measure for each level for a dimension? I dont mine if you use
    one or more measures.
    thanks in advance
    hope someone helps me.

    For example:I create a dimension for product_dim witch has 4 levels:total, class, family and item:
    d_aben18
    n1_aben18
    n2_aben18
    n3_aben18
    n4_aben18
    herarchy:h_aben18
    cube:cubo_aben18
    measure:med_aben18
    I create this code to fetch the data to the dimension:
    TRAP ON CLEANUP
    SQL DECLARE c1 CURSOR FOR SELECT-
    total_product_id,1,'N1_ABEN18',total_product_dsc,-
    class_id,1,'N2_ABEN18',total_product_id,class_dsc,-
    family_id,1,'N3_ABEN18', class_id, family_dsc,-
    item_id,1,'N4_ABEN18',family_id,item_dsc-
    FROM PRODUCT_DIM
    "OPEN THE CURSOR
    SQL OPEN c1
    "FETCH THE DATA
    SQL FETCH c1 LOOP INTO-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N1_aben18_LEVELDEF,:D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N2_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N3_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N4_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    "SAVE THE CHANGES
    UPDATE
    COMMIT
    CLEANUP:
    SQL CLOSE c1
    SHOW 'KK2'
    Then I create a cube with use compression off, and in rules sum for example.
    After, I create a measure and I select Override the aggregation specification for the cube, in rules I put nonadditive and I would like to create aprogram to assign distinct values to each level of the dimension. For example, I put 1, 2 3, and 4 values, but at the end I would like to put count(distinct(values)).
    for that I create another program:
    VRB D_RETURN DECIMAL
    if D_ABEN18_N1_ABEN18_LEVELDEF eq 'N1_ABEN18'
    then D_RETURN = 1
    if D_ABEN18_N2_ABEN18_LEVELDEF eq 'N2_ABEN18'
    then D_RETURN = 2
    if D_ABEN18_N3_ABEN18_LEVELDEF eq 'N3_ABEN18'
    then D_RETURN = 3
    if D_ABEN18_N4_ABEN18_LEVELDEF eq 'N4_ABEN18'
    then D_RETURN = 4
    else d_return=26
    return d_return
    "SHOW D_RETURN
    cubo_aben18_med_aben18_stored=d_return
    but it doesnt work.I dont know how to put to assign or to see what I want.
    I report the measure, or I report the program, but then how can I see the values of the measure?
    thanks in advance

  • Return to vendor via delivery, customer number for each vendor?

    Hi
    We wish to use return materials to Vendor via delivery process
    addition to required configuration, we need to maintain Customer number in Vendor master
    In out plant we have more than 500 Vendor masters, do we need to create customer number for each vendor? or can we create a generic customer ????
    Business has a concern on creating customer for each vendor since number is huge, Sales guys may get confused with these numbers
    Please suggest a way out
    Thanks

    Thanks Jurgen for the reply
    We have Vendor Work flow setup in the system. Which means when ever vendor master is changed [Return indicator ticked] workflow kicks off which means it goes for approvals. This is why we dont want to go for tick as and when needed. When ever there is a return, return to vendor must be ticked, it will go for approval etc so it slows the process
    we are thinking if we can achieve through data load before SAP GO-Live so that users able to return without any delay
    NOTE 447070 says 'the automatic creation of the required customer data is not supported in the data transfer'
    this is related to automatic customer create isnt it
    i was thinking as below
    --> Create Ship-to's for all vendors
    --> Load vendors via LSMW [along with return to vendor ticked and customer number(created above)]
    Tested in SAP
    created ship-to
    Created vendor with above customer number
    Do you see any issue?
    Thanks

  • Custom bleeds for each page?

    i changed the size of a page using the page tool to be smaller than other pages in the same document. but the bleed is huge?
    i set the bleed to be .5 all around and it looks good on all the pages except this one
    can i set custom bleeds for each page?

    Eric Greenfield wrote:
    i set the bleed to be .5 all around and it looks good on all the pages except this one
    can i set custom bleeds for each page?
    First, .5 whats? .5 inches, for example would be huge for normal work, .5 pica or cm a bit large, and .5 mm or pt exceptionally small. and essentially useless.
    And bleed guides are set as a document level attribute, so one size fits all pages. That actually is a good thing, by the way. Bleed is there to provide a buffer against misalignment in cutting. The size you need is based on the sheet-to-sheet registration capabilities of the printing equipment and the accuracy of the cutter and skill of the operator, and it doesn't change with the page size.

  • I am getting ready to sell a Mac app and I want to know what the specs are to create a custom background for my Mac App?

    I am getting ready to sell a Mac app and I want to know what the specs are to create a custom background for my Mac App?
    Here is a good example of what I am talking about: https://docs.google.com/file/d/0B28kNqQ8gmifRjRHam9wVnlrWG8/edit?usp=sharing

    You need to post your question in the Apple Developer Forums

  • Do we require a seperate server for each JWS app ?

    We have an app that runs on JWS and uses a fairly large MS SQL database. We currently host this on our server. We use ServletExec and Win2k and IIS. Most customers do not have MS SQL on their laptops. Each customer wants to login and use their own version of our application together with their own version of the database.
    Q: could we host several versions (one for each customer) of our app on a single server with one IP address, or do we need a different server with different IP for each?

    The question is : do you want your user to be able ti use their application offline ?
    If yes, then you may provide them a local database and use a JDBC type4 driver. (The application is fetch directly from the server when first connected and then is able to lauch the applicaiton off-line) Such a network listen is allowed by the JNLP security model without any application sign !
    If no, then why not having a single database and some user debedant table that store the user specific data (as usual), and using a login dialog-bon (or an auto-logon mechanism) to restric identify and access your database thru some business logic via RMI or any ligh-webservice technology.
    Anyway you have plenty of solutions ..... it only depends of what are the exact needs.
    Regards,
    Jean-Baptiste Bugeaud
    WWW.UP2GO.NET - The JNLP Applications Repository

  • 0o we require a seperate server for each JWS app

    We have an app that runs on JWS and uses a fairly large MS SQL database. We currently host this on our server. We use ServletExec and Win2k and IIS. Most customers do not have MS SQL on their laptops. Each customer wants to login and use their own version of our application together with their own version of the database.
    Q: could we host several versions (one for each customer) of our app on a single server with one IP address, or do we need a different server with different IP for each?

    I've used many UNIX databases, not SQL
    database, and I don't know how SQL database
    handles authentication, but with Oracle, for
    instance, it would be easy to run any number
    of apps and databases from a single directory
    on any web server.
    One way to differentiate DB instances would
    be by specifying a -D property in the JNLP
    launch commands.
    Any half-descent web server will permit you
    to control access to individual files by
    source address and/or passwords.

  • SSO for a Webdynpro App

    Hi Everyone hope you can help.
    All i would like to know is:
    If you have created a webdynpro and would like to bypass the default way of obtaining a JCO connection i.e)
    Not using the GUI under the webdynpro admin console in the portal and defining the JCO (Meta and Model) there.
    I have looked everywere and i can not find any documentation supporting "Writing your own JCO connection" inside the webdynpro app as a pooled connection.
    I used to do it in EP5 like this:
    public class Test {
    private IPortalComponentRequest request;  //used for SSO
    public void setRequest(IPortalComponentRequest value){
          request = value;
    private void BuildConnection(){
          IJCOClientService clientService = (IJCOClientService) request.getService(IJCOClientService.KEY);
          poolEntry =
    clientService.getJCOClientPoolEntry("PROD_SYSTEM", request);
          sapConnection = poolEntry.getJCOClient();*/ }
    private void closeConnection(){
          poolEntry.release();
    } //end Juan
    The API that i used is not included in the webdynpro development lib.
    Can anyone show me how to get the SSO cookie using the webdynpro API inside the webdynpro app. I need this cookie to include it into the required parameters during the JCO connection creation.
    Thanks in advance!

    Hi Diego
    There is tons of information on this.
    Check this post
    Re: Problem accessing R/3 with SSO ticket from the EP6.0
    and also links in this post.
    For Web dynpro app to R/3 these simple points should help
    -> Go to your Security provider service in VA , select the authentication template ticket and provide options for CreateTicketLoginModule with the one given in this document
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/ac3d41a5a9ef23e10000000a155106/content.htm
    ->Go to your key storage service in VA and export out the certificate and import this into R/3
    ->Go to your Content administration for Web Dynpro and switch the security settings in your JCO destinations to use 'useSSO' instead of userid and password , this applies only for the destination that fetches application data. The meta data destination can be configured to use userid and password.
    Thats about it.
    Regards
    Pran
    P.S is this '=(' the mexican hat

  • IOS 6 Custom Ringtones for 3rd party apps such as Talkatone

    Will iOS 6 ever allow an app such as talkatone or google voice to allow custom ringtones? Does anyone know??
    Since they upgraded from iOS 5 to 6 that feature is no longer available. It is quite a bummer. Please put it on again Apple!

    You can't use custom ringtones for Talkatone.
    Compatible with iPhone, iPod touch, and iPad. Requires iOS 4.3 or later. This app is optimized for iPhone 5.

  • Is there a way around having to enter password for each iOs app

    I'm getting back into experiment/deploy iOS apps from the App store using ZMM.
    Is there a way around the user having to enter the password for each app in the same session.
    I guess what I am saying is that once the apple password is entered for the first app when the user turns the ipad on, they seem to have to enter it for each app in quick succession eg 20 apps, then 20 passwords. Is there a setting or way around that? It seems kind of silly or is it that I'm dumb
    thanks

    Originally Posted by Thomas Roberts
    I'm getting back into experiment/deploy iOS apps from the App store using ZMM.
    Is there a way around the user having to enter the password for each app in the same session.
    I guess what I am saying is that once the apple password is entered for the first app when the user turns the ipad on, they seem to have to enter it for each app in quick succession eg 20 apps, then 20 passwords. Is there a setting or way around that? It seems kind of silly or is it that I'm dumb
    thanks
    There is not AFAIK, if you find one then please let us know But I do recal that if you enter the password the first time then cancel the rest of the popups they should get installed anyway but I'm not 100% sure, my memory may fail at times
    Thomas

  • How to do a Facebook OAuth Login for HANA XS App in Trial Account?

    Currently I am playing around with Facebook logins from the SAP HCP Trial account.
    Using the Facebook JavaScript SDK in an HTML5 app works easily with a few lines of code.
    Now I try to do it in an XS application. I found this blog about OAuth2 Authentication but this does not seem to work in the Trial landscape?
    I also read the blog from Chris Paine or Chris Paine but there is also Java code involved and maybe things changed in the last two years?
    Then I read many help pages from SAP HCP help about OAuth, Trust etc but the more I read the more I am confused
    So my question is:
    How can I do a Facebook login via OAuth in an HANA XS app on the trial landscape?
    Any hints or tips for further steps appreciated
    Thank you for your help,
    Mark
    EDIT: In this tutorial from Martin Raepple is a similar scenario described (here a Cordova app authenticates with OAuth2) but my scenario should be a lot simpler because on SAP HCP I use anonymous access (no Identity Provider involved) and only the Facebook login is needed. But maybe I can use parts of this tutorial? Currently there are so many options that I cannot see which parts are relevant and which are not...

    as far as I can remember, you can also try to click menu Contacts >> Contact List >> Facebook.  Then the option to connect Facebook and Skype will be presented (under the Contacts Tab).  
    CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
    MORE TIPS, TRICKS AND UPDATES AT
    skypefordummies.blogspot.com

  • Customer login for quicksizer

    Hi,
           For using the quicksizer at service.sap.com/quicksizer, does it make any difference using a customer id or using my regular s00* id? I was going through all the documentation and FAQs, I got an impression that I should login as SAP customer rather than my id.
    Thanks.

    if i remember right your actual quicksizer excercise needs a customer id
    https://websmp205.sap-ag.de/~sapidb/011001079000000923661999E
    a paper based quick sizing can be done though to determine the initial hardware requirements to advice the customer or prospect

  • Corresponding BAPIs for each Webdynpro application

    Hi All,
    We are on EP7,ECC 6, ESS BP1.2 enhancement package. Configured the NWDI and how do we know which BAPI is being called.
    Scenario:
    In the Bank Information application,
    User can perform three actions : Enter, change and delete the bank details.
    First we need the list of BAPI’s through which this three feature are called by the WDP application.
    ( When ever there some modifications are done in the application, here they are goin to create a ZBapi which is goin to trigger a workflow… and send the notification for approval of mail to his manager)
    Second : once this operations are done , user clicks on save( or any submit button ) it should prompt a message saying “ Information  sent for approval “ instead of “ Data saved”
    Guide me what needs to be done here …
    Thanks,
    NR

    Hi NR,
    This is not the right forum to post this message .
    If you want to know which bapis are used in esss/bank application go to model node, you will see a list, those are  the bapis used. If you want to know which bapi is used for which purpose, you need to go to componenets which starts with VC  and open views. In each view check data binding and mapping parts. Mapping part will give from which bapi its getting data. Check for mappingReference element property of each context element.
    Regards
    Praveen

  • SQL query to find out last login for each database

    Hi everybody,
    I have a view with following columns:
    DatabaseSid, lastLogin, firstLogin.
    I want to now the newest last_login date for every database.
    SID First Login Last Login
    e.g. Database1, 11.11.2011, 01.12.2011
    Database1, 01.04.2012, 01.05.2012
    Database3, 03.03.2004, 03.06.2005
    Database 3 07.09.2012, 12.10.2012
    How can I do a query to find out for eacht DB (DB1, DB2 and so on) the Last_Login Date?
    Thank you in advance
    Steve

    Steve wrote:
    Hi everybody,
    I have a view with following columns:
    DatabaseSid, lastLogin, firstLogin.
    I want to now the newest last_login date for every database.
    SID First Login Last Login
    e.g. Database1, 11.11.2011, 01.12.2011
    Database1, 01.04.2012, 01.05.2012
    Database3, 03.03.2004, 03.06.2005
    Database 3 07.09.2012, 12.10.2012
    How can I do a query to find out for eacht DB (DB1, DB2 and so on) the Last_Login Date?
    Thank you in advance
    SteveI'm curious as to how you collect this information from multiple databases into one database, and of what value the data is once you have it.

Maybe you are looking for

  • Acrobat 7.0 error 1311, file needed

    During install, error 1311 comes up.  Source file not found C:\Program Files\Adobe\Acrobat 7.0\Setup Files\AcroPro\ENU\Data1.cab , then the process quits and I cannot install product.  Any suggestions how I can get this file?  Next step?

  • Apps don't download

    One day I tried to download a free app from the App Store. When I tap the free button and enter my password, instead of downloading and the free button turning into the circle, the button just goes back to free. As if I hadn't pressed it yet.

  • Office 365 & Microsoft Account directory merge

    The Azure account is managed and run by a Microsoft Account user. The same user has a Office 365 subscription so it has an work/organization account as well. Because the Microsoft sign-in pages are confused and messed up if a user needs to use differ

  • Installation MS Exchange 2013 Failed

    Hello, Today I make a fresh install of the windows server 2012 STD, installed differents roles et promote my server like Domain controller. After, I installed MS Exchange 2013 STD on this server with following procedure https://social.technet.microso

  • How To Write A Novel On ibook's Author?

    I need help I am trying to write a book but i dont know how to do it with all the text book templetes! help please