How to get requested (target) URL from login page jsp.

Hi,
How can I get requested (target) URL from within login jsp page where unauthenticated user was redirected.
IN other words I need to get target URL that user requested before he was redirected to login page.
In Weblogic there is "j_target_url" session attribute for this purpose.
Does NetWeaver have analogue?
Thanks in advance.

hi Alex,
NWDS provides Authentication through Pre defined properties,
We can trap unauthorised user.
To know more about this,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4ecd6eb1-0301-0010-61bd-a3d6bee102c0
thank you

Similar Messages

  • How to get back to Text from an Pages ePub footnote on an iPhone!

    I have noticed that there does not seem to be a way to return to a page that one has left to read a "footnote" that has been coverted to a endnote in export to ePub. It all looks great, but I can not find the way to return to the page I was reading on after I follow a footnote link from that page to the end of the document where the footnotes are cataloged... short of going back to the table of contents and then manually finding where I left off reading in the document before I clicked on the footnote number in ePub.
    Any suggestion... maybe this is a fault of ePub or of iBooks reader?

    I have noticed that there does not seem to be a way to return to a page that one has left to read a "footnote" that has been coverted to a endnote in export to ePub.
    It depends on the software used to create the ePUB file. Some applications may not support returns, others return by pressing the "footnote number" associated with the specific "footnote" that sent you to the "Endnotes," and still others (e.g., Legend Maker), employs a separate symbol placed at the end of the "footnote" entry to return you to your sending text.

  • How to get a portal URL from backend system?

    hi guys,
    I'm facing an issue regarding portal-ECC integration I can't proceed with, pls help
    we have an ECC linked to ERP portal and have to send email to users from ECC workflow with a link (URL) to portal .. is it somehow possible to get this link or shall I maintain the link in each system manually?
    thanks
    Juraj

    Hi Juraj,
    I think this link may be what you are looking for:
    URL Navigation - Portal - SAP Library
    The main part:
    The regular URL for launching the portal is http://portalserver/irj/portal . To implement URL navigation:
    From the Portal Catalog, select the page as it appears within the roles hierarchy with which you want to launch the portal.
    From the Quick Info pane below the Portal Catalog, copy the name of the page (PCD URL value) and save it in a text editor, replacing the string PCD: with ROLES:// .
    Open your browser and add the following string to the default portal URL:?NavigationTarget =<value saved in text editor >
    Save the new URL, which you can then use to launch your portal.
    BR,
    Etay

  • How to invoke ADF application URL from OAF?

    Hi guru's,
    We have a developed a custom ADF application using Fusion Middleware 11g.
    We would like to integrate this ADF with existing EBS/OAF application.
    We were able to invoke ADF URL from EBS responsibility with a special function type "ADFx" in R12.1.3.
    Now we need to pass context/profile level parameters from EBS to external ADF application. Like logged in userId/RespId etc...
    We are running ADF application also in same EBS DB and hence want to use same fnd_user/Resp concept in ADF.
    Can anyone help me on how to pass these parameters like userId/RespId from EBS to ADF while invoking ADF application URL?
    If we can append the values to ADF URL, we would be bale to parse them in ADF context. But, i am stuck at passing parameters from EBS.
    How Can we invoke ADF URL from OAF page? is there any specific function available or is it just URL invoke?
    Also, in OAF the logged in user session information is maintained in cookies(if i am correct), is there any way that we can pass the session level values from OAF to ADF?
    Any help in this regard would be a great help!!!
    Thanks

    May be the following link will help you ->
    http://www.oracle-latest-technology.com/2010/12/how-to-dynamically-open-external-url.html

  • How to get Requester Login information into the request dataset validator

    Friends,
    I need to check whether the requester is part of a group or not before submitting the request. If not I need to throw an error.
    Can you please let me know how to get Requester information.login into the request validator?

    Hi Thiago,
    I am getting the requester id from the requestData in the request data validator. Here is my full code for your reference.
    Bikash - I even tried with RoleManager service but still same error.
    public void validate(RequestData requestData)
    throws InvalidRequestDataException {
    tcUserOperationsIntf UserOppsIntf =Platform.getService(tcUserOperationsIntf.class);
    try
    tcResultSet result=UserOppsIntf.getSelfProfile();
    result.goToRow(0);
    String requesterID = result.getStringValue("Users.User ID");
    String userKey=result.getStringValue("Users.Key");
    System.out.println("Request Login:"+requesterID);
    if (isMemeber(getOIMGroupKey("testGroup"),userKey))
    System.out.println(requesterID+" is a Member");
    else
    System.out.println(requesterID+" is not a Member");
    String reason = "Note[REQUEST_SUBMISSION_ERROR].text:You are not authorized to submit this request.";
    throw new InvalidRequestDataException(reason);
    catch(Exception e) {
    e.printStackTrace();
    private String getOIMGroupKey(String GroupName) throws Exception
    String groupKey="";
    tcGroupOperationsIntf groupInstanceOps = Platform.getService(tcGroupOperationsIntf.class);
    HashMap searchFor = new HashMap();
    searchFor.put("Groups.Group Name", GroupName);
    tcResultSet results = groupInstanceOps.findGroups(searchFor);
    for (int i = 0; i < results.getRowCount(); i++) {
    results.goToRow(i);
    groupKey = Long.toString(results.getLongValue("Groups.Key"));
    System.out.println("GroupKey:"+groupKey);
    return groupKey;
    private boolean isMemeber(String groupKey,String userKey) throws Exception
    boolean member=false;
    try
    tcGroupOperationsIntf groupInstanceOps = Platform.getService(tcGroupOperationsIntf.class);
    long grpLong = Long.parseLong(groupKey.trim());
    tcResultSet grpResultSet = groupInstanceOps.getAllMembers(grpLong);
    for(int i=0;i<grpResultSet.getRowCount();i++)
    grpResultSet.goToRow(i);
    long usrKeygrp = grpResultSet.getLongValue("Users.Key");
    if (usrKeygrp==Long.valueOf(userKey))
    member=true;
    break;
    catch(Exception e) {
    e.printStackTrace();
    member=false;
    return member;
    }

  • How to get RMAN catalog information from Target database?

    Hi,
    How to get RMAN catalog information from Target database because i don't know about catalog database? is it possible?
    Thanks

    If you run RMAN backups of a target database using a Catalog schema in another database, the target is not aware of the catalog.
    The RMAN backup script would have the connection identifier for the Catalog.
    Hemant K Chitale

  • OIM 11g R2 - How to get requester key in validator

    Hi All,
    I am writing a small validator code which throws an exception,if the request is trying to submitted by xelsysadm.May I know how I can get the requester details (like key) in the validator code.
    The validator API takes RequestData as a parameter but there is no way to get the requester details from RequesData object.Thanks in advance.

    I got the solution using the below discussion
    How to get Requester Login information into the request dataset validator
    Thanks.

  • How to get the customize url of an portlet using PLSQL

    How to get the customize url of an portlet using PLSQL.

    Are you trying to call the portlet Customization form directly from the browser?

  • How to get auto proxy configuration from plugin?

    I need to retrieve the name of the client's proxy server to pass it along to my signed applet (because it doesn't seem to be getting the information automatically despite the fact that the java plugin is set to the use the browser settings for proxies).
    The Java Plugin loads the proxy server information based on the browser preferences, but I haven't figured out how to retrieve that proxy information from the Plugin itself. Sometimes the javaplugin.proxy.auto.url system property is null, even if the browser (MSIE) is configured to use an auto-configuration script/url for the proxy server configuration. I can see in the Java Console that the plugin knows the auto-config url, so how can I access that property from within my applet?
    Even if javaplugin.proxy.auto.url is not null, I don't know how to call the javascript function at that URL from within the applet to get the proxy server host name and port.
    Does anyone know how to get the proxy information from the plugin?

    Thank you! Indeed, the answer was there, but I hadn't been able to find it earlier (I guess I was searching on the wrong forums). For those who might be interested, here's the thread that helped:
    http://forum.java.sun.com/thread.jsp?forum=30&thread=281981

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • How to get Request object and LDAP user

    Hi All,
    How to get Request object, coz i want to see the out put of this code
    IUser myUser = request.getUser();
    String uid=myUser.getUid();
    I want to get only LDAP user from the server, for that i am having  code but i think this code is returning me all user from the server.
    com.sap.security.api.IUser user = null;
    try {
          IUserFactory userFactory = UMFactory.getUserFactory();
         IUserSearchFilter searchFilter = userFactory.getUserSearchFilter();
    ISearchResult searchResult = userFactory.searchUsers(searchFilter);
       int count = 0;
        List list = new ArrayList();
         while (searchResult.hasNext()) {
                      count++;
                       String uniqueid = (String) searchResult.next();
                        user = userFactory.getUser(uniqueid);
                        list.add(user.getUniqueName());
    This code is giving me all user from the server LDAP and as well as portal user.
    But i want only LDAP.
    Please help me out. It's urgent.
    Regards,
    Deepak

    Hi
    use the following code
    //Request
    IWDRequest = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
    //User
    IWDClientUser = WDClientUser.getCurrentUser();
    Regards
    Ayyapparaj

  • How can i request an invoice from a apple product?

    how can i request an invoice from a apple product?

    IF you bought it from an Apple Store in the US:
    View or Print Invoice
    Once an item is billed, Apple creates an invoice. You can view or print individual invoices for each item on your order.
    To view or print your invoice, log in to online Order Status and click the View Orders button. Click the Print Invoices link on the Your Orders page to get a printable image of your invoice(s).
    If you need assistance with viewing or printing your invoice, please contact an Apple Online Store representative 1-800-676-2775.
    from:
    http://store.apple.com/us/help/viewing_changing_orders#invoice

  • How to get event.target/event.currentTarget for HTML-5 canvas for click handler

    Hi,
    I hope everyone is doing great.
    I belong to Actionscript background and just started on Flash CC HTML-5 canvas.
    How to get event.target or event.currentTarget in Flash CC for HTML-5 canvas for click event.
    Like we used to do it in AS 3.0
    btn.addEventListener(MouseEvent.CLICK , go);
    function go(evt:MouseEvent){
       trace(" evt - "+evt.currentTarget); // It will let us know the clicked target
    For  HTML-5
    btn.addEventListener('click' , go.bind(this));
    function go(evt){
       console.log(" evt - "+evt.????t); // what is the correct syntax here?
    Thanks,

    Hey guys found the answer from stackoverflow
    it is - evt.target

  • How to get all the values from the dropdown menu

    How to get all the values from the dropdown menu
    I need to be able to extract all values from the dropdown menu; I know how to get all those values as a string, but I need to be able to access each item; (the value in a dropdown menu will change dynamically)
    How do I get number of item is selection dropdown?
    How do I extract a ?name? for each value, one by one?
    How do I change a selection by referring to particular index of the item in a dropdown menu?
    Here is the Path to dropdown menu that I'm trying to access (form contains number of similar dropdowns)
    RSWApp.om.GetElementByPath "window(index=0).form(id=""aspnetForm"" | action=""advancedsearch.aspx"" | index=0).formelement[SELECT](name=""ctl00$MainContent$hardwareBrand"" | id=""ctl00_MainContent_hardwareBrand"" | index=16)", element
    Message was edited by: testtest

    The findElement method allows various attributes to be used to search. Take the following two examples for the element below:
    <Select Name=ProdType ID=testProd>
    </Select>
    I can find the element based on its name or any other attribute, I just need to specify what I am looking for. To find it by name I would do the following:
    Set x = RSWApp.om.FindElement("ProdType","SELECT","Name")
    If I want to search by id I could do the following:
    Set x = RSWApp.om.FindElement("testProd","SELECT","ID")
    Usually you will use whatever is available. Since the select element has no name or ID on the Empirix home page, I used the onChange attribute. You can use any attribute as long as you specify which one you are using (last argument in these examples)
    You can use the FindElement to grab links, text boxes, etc.
    The next example grabs from a link on a page
    Home
    Set x = RSWApp.om.FindElement("Home","A","innerText")
    I hope this helps clear it up.

  • How to get the return values from a web page

    Hi all :
       how to get the return values from a web page ?  I mean how pass values betwen webflow and web page ?
    thank you very much
    Edited by: jingying Sony on Apr 15, 2010 6:15 AM
    Edited by: jingying Sony on Apr 15, 2010 6:18 AM

    Hi,
    What kind of web page do you have? Do you have possibility to for example make RFCs? Then you could trigger events (with parameters that could "return" the values) and the workflow could react to those events. For example your task can have terminating events.
    Regards,
    Karri

Maybe you are looking for

  • RMAN-20242: specification does not match any archive log in the recovery ca

    Hi, I'm working with an 9i Oracle RAC (yes, I know this version is out of support...). I'm launching my backup from node 1 with this script run { sql 'alter system switch logfile' sql 'alter system archive log current' allocate channel TSM1 type 'sbt

  • Get rid of small loading icon?

    Is there a way to get rid of the small loading icon. I have several animations created in Edge that i have exported out as a .oam file. It took a bit but i've got the animations playing appropriately by using the delay.125 method and one had to go to

  • MOVIE QUALITY ON MAC MINI

    Hi all As a video club who produce our own local videos using Final Cut Studio, then copy them to dvd's for showing to local old peoples homes, hospitals, etc. We now have a dvd player, projector with vga plus amplifier speakers and screen. Plus of c

  • Adding secondary ACE Back to production

    I had to take out the standby ACE from production today and want to insert it back now .. what is safe way to add it back ..It will be good if we can remove the peer address from the standby ACE and add it.. But for that i have to insert the ACE to t

  • Plz help in submit statement

    Hi all i have a transaction MD4C which shows some missing material numbers . now i ill have to create a report which shows some selected part of data from MD4C. means if md4c is showing 16 rows i ill have to show only 5 rows based on my selection cri