Portal Logoff

Hi,
I have portal 10.1.4
I am using dynamic page. I have header and footer portlets and in between I have created a dynamic page with the contents as follows
<iframe name = "myframe"
src="http://128.222.112.36:8882/Login-ViewController-context-root/faces/listUsers.jsp?_id7=<ORACLE>begin htp.p(portal.WWCTX_API.get_user); end;</ORACLE>"
width="980"
height="500"
scrolling = "yes"
frameborder="0">
</iframe>
as you see, I am using a IFRAME. With-in IFRAME src link runs the application. In short my app runs between Header and Footer portlets.
PROBLEM: I created a Logout html link on one of my Jsp page. It logsout the user to Single Sign On page. But, since I am using IFRAME, that single sign on login page shows up between Header and Footer portlets. Thats not good. Bcoz, if user logs-in again, then on success, it shows 2 Headers on top and 2 footers at the bottom.
How can I force the link to Log-of entirely from portal, so that it does not show the SSO page within Header and Footer ?? any idea
thanks,
pp

have you tried to redirect users after logout to another page (with no headers / footers) ?

Similar Messages

  • Error when redirecting the portal logoff page

    Hello,
    we have a problem in redirecting the portal logoff page.
    Our production system is a cluster environment -windows 2003.
    we have developed customizing page for portal logoff.
    when the cluster is in Node A the functionality of the logoff page is working fine and it is redirecting to the customized page.
    But when we shift it to Node B and logoff the portal it is not showing the customized page.
    We have referred the following note also:696294.
    We have added the portal logoff page is IIS services also.
    But when we shift the server from NodeA-NodeB the functionality of the redirecting is not happening and it gives a message
    you are not authorized.
    I appreciate any one response.
    Regards,
    Krishna.

    Hi sridhar,
    Thanks for your reply.
    What my error is "iam getting the logoff page redirected when the cluster resources are in Node1 but iam not getting the same logoff page when the cluster is nodeB"
    Ie we have developed a customising logoff page and set the page.When the services are in Node A the fucntionality is working fine.But when the resources move to NodeB iam not getting the customized logoff page".It says no authentication.
    Aprreciate your further help.
    Regards,

  • Portal Logoff and redirect to my own (created) logon page

    Hi experts,
    one Question about "Portal logoff and redirect to another URL", and I know there already are solutions how to fix that, but I was not successfull with my doings.
    I have a customized logon page. When I call "http://myportal:50000/irj/portal/anonymous", I can see my own logon page. That works fine.
    Now to my problem:
    1) I'm using SAP NetWeaver Portal v7.01 (VMWare) with Windows 7 (x64 Bit)
    2) In Config Tool "ume.logoff.redirect.silent" is setted at true and "ume.logoff.redirect.url" (both under "Global settings") at "http://myportal:50000/irj/portal/anonymous". Than WebAS has been restarted.
    3) In source code of the Portal page (Masthead), I could see that the setted values can be readed from config tool
    4) So far I could understand, when the parameters are setted and "silent" is true, than a new iframe will be created which is append to the document (JavaScript: logoffThirdParty())
    5) After this, the logoff form will submitted, that means xxxx.LogOutComponent is running. Think this components reads some hidden attributes as "logon_submit", and one of this should be the (new created) externalIFrame
    Instead of my anonymous page, I see the default SAP logon page. I don't have made any changes on com.sap.portal.navigation.masthead iView (should be the right name I think).
    Thanks for assitance and regards,
    Cengiz
    Edited by: Cengiz Türkoglu on Feb 5, 2010 8:39 PM
    Edited by: Cengiz Türkoglu on Feb 5, 2010 8:39 PM

    Try to set the value ume.logoff.redirect.silent to FALSE and then restart and test. In my situation it worked.
    Regards,
    A

  • Execution of WDExit() on portal logoff

    Hi folks,
    I have been trying to write some functionality on wdDoExit() of a view. The method - wdDoExit() is called when i close the browser.
    But, when i host this application on portal, this is not happening. I want wdDoExit() to be triggered on portal logoff or closing the browser window. Is there any way of achieving it??
    Any ideas or work around appreciated.

    HI Kunal,
    This is not possible. You can manage only the iview area where you dynpro application is hosted. apart from it. portal logoff and closing window where portal is running. those are completelly portal instants.
    And not recomonded that you change portal setting to execute your application code. as portal supports other applications too.
    A workaround is.
    we have done this for differnet purpose.
    when you create an iview in your portal for you dynpro application.
    1.on logoff of your portal.. pass a parameter to you application.
    2.specify that parameter in your default inbound plug of main screen.(i.e. the screen which executes first)
    3. and according to that parameter execute you wdexit of dynpro.

  • Portal logoff:  Need to redirect KM html page

    Hi all,
    Currently When I click logoff button its rediredt to log in page. But I need to put one KM html page with some message and if user want to re-login i will give one CLICK here for relogin.
    Im trying to do this through PAR file.  Please some one suggest how to give KM URL
    Thansk
    Polaka
    Edited by: polaka123 on Apr 18, 2011 2:10 PM

    Hi Polaka,
    Could you please try the below two?
    Option1: please check, whether you are acutally logged off or not? Even if you are shown the logon page it could be possible that the URL redirected is not shown in the browser. To do this just replace '/irj/portal' with'/index.html' then som UME or NWA link. If you are in without proving uid/pswd then you are not logged off at all, else you are logged off but just not redirected to the URL you have mentioned. If in the second case(logged off but not redirected, kindly check the below property in visual admin- set it to false.
    (Did you happen to set the '"ume.logoff.redirect.silent=false" in the visual admin)?.
    Then restart server and clear your browser cache too.
    Option2: Repeat the above steps trhough config tool and restart server.
    (this must work). But if possible try the option1 and hopefully it should work.
    [Config tool property editing|http://help.sap.com/saphelp_nw04/helpdata/EN/0b/50ad3e1d1edc61e10000000a114084/frameset.htm]
    For accessing KM content(anonymous), please check the link below:-
    [Anonymous KM Access (SAP -How to)|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0ab0ada-f56f-2910-a5b6-dae4f307da7e?QuickLink=index&overridelayout=true]
    Thanks,
    Jakes.

  • Portal logoff not clearing business objects SSO connection

    Is there a way to clear the saved SSO information from the business objects session in the background?
    The scenerio;
    On a computer shared by multiple users
    UserA Logs on to the SAP Enterprise portal, navigates to an iview that uses OpenDocument to run an xcelsius dashboard.  Single signon works great and dashboard is displayed.  This dashboard resfreshes on open and data retrieved is correct based on this users autorizations in BW.  The user Clicks the logoff link in the masthead of the Enterprise portal, the portal session and its SAP logon ticket are closed and the Portal logon page is redisplayed.
    UserB logs on the the SAP Enterprise portal, navigates to the same iview, the dashboard runs and retireves the data, but the data displayed is based on the BW autorizations for UserA.
    I verified that the SSO connection that userB is using to retrieve data is left over from UserA.  (I did this by simply opening an InfoView window and it shows the userid of UserA in the Welcome message.
    Closing the Browser window between each user login takes care of the problem, but is not really something we can count on our users doing.

    Hi Gail,
    We are also facing same issue as you had, Integrated BI launchpad with Portal and SSO is working fine via portal. But issue is already opened reports or Business objects will not clearing as you had after log off and lo-gin back.
    Can i setup any property to clear the BOBJ cookies or Can i create sap note for logoff option button on BOBJ via portal.
    Can you please suggest me to resolve this issue.
    Thanks,
    Naveen

  • How to use Portal Logoff even?

    Hello,
    i have a situation, where on click of a button in the webdynpro iView the user have to get logged off from the portal and and the portal default login page should appear.
    previously we had done this using exit plug..but after upgradation to 2004s its no more valid.
    so we tried with portal navigation using url iView.. I have created a url iView and inside that have given the url as "http://<<server>>/portglobal/web/logoff.jsp"
    and has used this code :
    String str = "ROLES://portal_content/<<remainging path>>;
    WDPortalNavigation.navigateAbsolute(
    str, WDPortalNavigationMode.SHOW_INPLACE, (String) null,  (String) null,  WDPortalNavigationHistoryMode.NO_DUPLICATIONS, (String) null,
      (String) null,null);
    but its not navigating. its still in the same window.
    when i did show in different window its saying iView not found. but the path is correct.
    can you suggest me any thing on this?

    use below code:
    com.sap.tc.webdynpro.services.sal.um.api.WDClientUser.forceLogoffClientUser(null);
    Raja T
    Message was edited by:
            Armin Reichert

  • INotes logoff causes portal logoff

    Hi everybody,
    I integrated iNotes into the portal. When I log out me from iNotes then the portal log outs me too.
    How can I avoid this?
    If I start iNotes from portal in an extra Browser then it works. But we prefer the integrated solution.
    Any ideas?
    Thanks,
    Susanne

    Hello Susanne,
    unfortunately, the iNotes logoff deletes all session cookies - including the SAP logon Ticket and the SAP J2EE cookies.
    One option would be to use iNotes in descrete iViews (iNotes URL Parameter "ui=portal") and not in fullpage mode. In that rendering mode iNotes does not render the logoff button. The iViews then display a subset of iNotes (only INBOX, or Calendar or Contacts) and not the full application. However you may combine several iViews on one portal page so that the user has all important functionality on a single page.
    Otherwise you have to modify the logoff button to delete the Domino session only and to keep the SAP session cookies.
    Regards
    Michael

  • Enterprise Portal - logoff ???

    Hi,
    I have question, i have SAP NetWeaver Enterpirise Portal 7.0 and If I press the "logoff", nothing happens. What do I do this step by step when you press the button to go to another page ?
    BR,
    T.

    If you are using any reverse proxy then you need to cloes the session of the reverse proxy also. Otherwise portal will login again if you click the logoff button.
    You can set to different url  after clicking the logoff button.
    Navigate to Global server configuration -> services ->com.sap.security.core.ume.service of the Config tool
    and set the property 'ume.logoff.redirrect.url' with your new url
    Raghu

  • Portal Logoff Redirection

    Dear All,
    We have the requirement in which on the basis of unique id we have to logoff the user.
    To accomplish the requirement we have made the changes in com.sap.portal.navigation.masthead par in HeaderIview.jsp and written the following code:-
    boolean user_type=false;
    String logoff_url="http://www.XXXXXXXXXXX";
    private String GetWelcomeMsg(IPortalComponentRequest request, String welcomeClause)
        IUserContext userContext = request.getUser();
        if (userContext != null)
              String firstName = userContext.getFirstName();
              String lastName = userContext.getLastName();
              String salutation = userContext.getSalutation();
              String user_type1=userContext.getUniqueID();
              if(user_type1.indexOf("XXXX")>0)
                        user_type=true;
                        else
                        {user_type=false;
                             logoff_url="?spnego=disabled";
                             //logoff_url="http://www.google.com";
    Then in logoffform we have written the following:-
    <form name="logoffForm" style="display:none;position:absolute;top:-5000;left:-5000" action="<%=logoff_url%>" method="POST">
    The code is behaving as expected for few times and then again it navigate back to us in login screen. When we clear cache and close browser it works fine and after few times it again navigates back to login Screen. When we are checking the session termination ,it is not getting terminated.
    Please help in this regards.Its urgent.
    Thanks in Advance.

    Hi,
    Please check this below link and thread
    http://help.sap.com/saphelp_nw73/helpdata/en/19/667bae77684887bea80129800fd701/frameset.htm
    How to Force Logoff from Portal in Custom Application
    Regards,
    Nivas209

  • Portal Logoff Customization

    Hi,
    I have a requirement like when user clikcs on log-off link, it shouldnt ask any pop-up for confirmation. with out confirmation box, it should logoff. is there any possibility with out writing any code?
    another thing is wehn user close the internet explorer without logging off nad reopen the IE, portal is not asking to re-login again. means in cookiest history, its saving it. How to make it ask uid n pwd wen user close the IE and open it back with out using logoff.
    kindly let me know the solution for this.
    Thanks in advance.
    Venkat

    Hi,
    for the logoff:
    Take a look into the masthead JSP file. The JS function that get's called when the user clicks on the logoff link is openLogoffMsg():
    function openLogoffMsg(){
             if(EPCM.getGlobalDirty())         {
                   // unsaved data on the page, display modified dialog
                 var val = window.showModalDialog('/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.masthead.logoffConfirmMsg?UnsavedData=true', '', 'dialogHeight: 170px; dialogWidth: 350px; edge: Raised; center: Yes; help: No; resizable: No; status: No');
              else //no unsaved data          {
                   // data saved, nothing get lost on the page, display normal dialog
               var val = window.showModalDialog('/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.masthead.logoffConfirmMsg', '', 'dialogHeight: 170px; dialogWidth: 350px; edge: Raised; center: Yes; help: No; resizable: No; status: No');
               if (val == 'logoff')
                  logoff();
    As you can see, the user has 2 possibilities to get the popup:
    1. He has unsaved data
    2. The "normal" logoff confirmation dialog
    As the code is straight forward and without IFs or checks, you need to code your own masthead javascript that simply skips the window.showModalDialog part and goes straigt to the logoff() function:
    function logoff() {
        EPCM.raiseEvent("urn:com.sapportals.portal:user", "logoff", "");
    For the auto-logon: does the user has still another Explorer open? Or even tab?
    br,
    Tobias

  • Portal Logoff Window Font Size

    When a user logs off our EP 7.0 Portal, I would like to increase the font size of the text "Are you sure you want to log off?". I have tried adjusting various settings within our custom portal theme, but cannot find the one that affects this text. Can someone tell me where to change this font size?

    Try to import the masthead par file and open th eheaderview.jsp
    In that you can write some javascript code to modify the logoff window size
    Check the functon openlogoff message something like that
    Raghu

  • Portal Logoff Error

    Hi Folks,
    Can you please help me on this?
    When i open the browser and login into the portal and click on the logoff button I am not able to logoff, it just remains on the same screen. The message on the status bar of the browser was "Object Expected"
    Thanks,
    Robert

    Hi Roberto,
    It seems that yours is a browser problem.
    Do one thing visit this Url [Product Availablity Matrix|http://service.sap.com/pam]. There you will find the all the details regarding Portal and Browser compatability.
    It is always better to check /pam first.
    Regards,

  • Portal logoff : Redirection or Close the Entire Window

    Hi Folks
    I need some clarity for the below scenario.
    I have two login pages as
                     1.Default Login page
                     2.Custom Login Page
    On clicking the LogOff  in my Custom Login Page,  it should take me back to my CUSTOM login page not to the Default.
    But the portal takes me back to Default Login Page.
    Can any one provide some pointers over this. where to do the modification inorder do proper redirection on logoff....
    Thanks
    Kumar
    Points will be awared for sure.

    Hi Eliel
    Dear Friend
    I totally agree wat u said , but i tried that option too, where i found RUNTIME ERROR happening....
    i hope you are talking abt this below function , am I rite ?
    //Get the external logoff URL
    private String getExternalLogOffUrl()
       return UMFactory.getProperties().get("ume.logoff.redirect.url");   
    // Here i tried this way  as you pointed...but it didnt work...
    return UMFactory.getProperties().get("www.google.com"); 
    MoreOver if you look into SAP Notes 696294, where they mention as similar to ur suggestion.
    From SAP Notes 696294:
    To enable this feature, set the following UME properties:
    ume.logoff.redirect.url=<url_users_are_redirected_to_after_logoff>
    ume.logoff.redirect.silent=[true|false]
    Set the second parameter to true if the URL is to be called silently in a hidden iFrame
    I tried this way too, but fail to succed.
    But My Friend , i found another work around where i am successful...
    In the HeaderiView.jsp , down below the logoff operation
    modify the Form as like below ,
    *<form name="logoffForm" style="display:none;position:absolute;top:-5000;left:-5000" action="http://www.google.com" method="POST">*
    *     <input type="hidden" name="logout_submit" value="true"></input>*
    *</form>*
    It worked for me ... Try it out....
    Post me your comments over this...
    Thanks
    Kumar T

  • Portal logoff should Close or Exit from  the window

    Hi Friends,
    Please help me here, When user click on logoff or Exit from the portal the Window should be closed. (I disabled the popup message box , now I am trying to figured it out how to close the window)
    Please help me.
    Peter

    Hi Peter,
    If you try to write JavaScript  in par file to close window, i think portal will not properly logoff from portal.
    Better to create a seperate html page which contain script to close the window on load. Also include script to remove cookies created by portal (not mandatory). Save the html page in server..
    You can redirect portal after logoff to this page by setting ume logoff url in visual administrator.
    We implemented this in portal and working fine in IE. For Firefox it will prompt a message, since it will not allow close window from script due to security reasons.
    If you need html code and script let me know i will send it.
    Regards
    Baby

  • Portal Logoff redirection URL

    Hi,
    I want to redirect the URL to another page from the default log on page when the user logs off. I know we can change it in ume.logoff.redirect.url and give the desired URL. But the problem is we have two different sites and each sites should return to different screens once the logoff is clicked. So the URL cannot be maintained in this property. We have two mastheads for both this sites.
    I tried to figure it out in the code. The URL to be mentioned is present in logOutComponent which is part of the jar file which comes with masthead. I cant change the desired URL in that component. Where can i change the URL to get the desired result?
    Regards,
    p188071

    Hi <name>,
    I decompiled the "logOutComponent" .class and it containts the following code:
    // Decompiled by DJ v3.6.6.79 Copyright 2004 Atanas Neshkov  Date: 19-1-2008 18:04:06
    // Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
    // Decompiler options: packimports(3)
    // Source File Name:   LogOutComponent.java
    package com.sapportals.portal.navigation;
    import com.sap.security.api.UMFactory;
    import com.sap.security.api.util.IUMParameters;
    import com.sapportals.portal.prt.component.*;
    import com.sapportals.portal.prt.pom.IEvent;
    import com.sapportals.portal.prt.runtime.IPortalRuntimeResources;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    // Referenced classes of package com.sapportals.portal.navigation:
    //            INavigationGenerator
    public class LogOutComponent extends AbstractPortalComponent
        public LogOutComponent()
        public void doOnNodeReady(IPortalComponentRequest request, IEvent event)
            String externalUrl = UMFactory.getProperties().get("ume.logoff.redirect.url");
            boolean silent = UMFactory.getProperties().getBoolean("ume.logoff.redirect.silent", false);
            if(externalUrl != null && !externalUrl.equals("") && !silent)
                request.redirect(externalUrl);
            } else
                INavigationGenerator navigationService = (INavigationGenerator)PortalRuntime.getRuntimeResources().getService("com.sap.portal.navigation.service.navigation");
                String URL = navigationService.getPortalURL(request, null);
                request.redirect(URL);
        public void doContent(IPortalComponentRequest iportalcomponentrequest, IPortalComponentResponse iportalcomponentresponse)
    As you can see this module just gets the property "ume.logoff.redirect.url", does an adittional check and then gives back this url..
    Not that fancy..
    My suggestion to you would be to edit the portalapp.xml, look for the component "default" and extend it with an additional component property called "MyCustomLogOffURL" for example. To do this just copy the allready excisting "Help URL" property and rename.
    Example:
    <property name="MyCustomLogOffURL" value="http://yourloggofurlforthismasthead.com">
      <property name="plainDescription" value="My Custom Logoff URL" />
      <property name="category" value="Navigation" />
    </property>
    Adding this property here makes you set it seperately for both the masterheads you use, because you can just set it in the Property editor of the PCD
    In addition you now need to modify the "HeaderiView.jsp" a bit to use your custom parameter instead of the "logOutComponent".
    To do that add the following initialisation at the beging of the jsp file:
    final String MY_CUSTOM_LOG_OFF_URL = "MyCustomLogOffURL";
    ....and change the function GetLogoffURL so that it will look like this:
    private String GetLogoffURL(IPortalComponentRequest request)
         String value = (String)request.getNode().getValue(MY_CUSTOM_LOG_OFF_URL);
         return value;
    <h3>PLEASE TAKE NOTICE OF THE FOLLOWING</h3>
    <h5>Never change the SAP component always create a copy and rename it to your own namespace!!!</h5>
    Good Luck,
    Benjamin Houttuin

Maybe you are looking for

  • How to display the first page alone first and two pages (back and front) then ?

    Hi I use acrobat 9 (beginner). I have a document which should be displayed "as a book", ie two pages on the screen at the same time, the back of the first sheet and the front of the second one. The problem I have is to manage to display the cover she

  • My creative Zen 20gb not work

    Hi I have got Zen touch 20gb. Once I was adding new music to my player. Suddenly a little window shows up with text that everydoby knows 'serious problem has occured'. Since then my player stopped working. I can't turn it back on!!!! Did somebody hav

  • ActiveX variant to LabVIEW variant

    Hi Ppl, I'm reading ActiveX data from an application(TestStand) in LabVIEW. The data I get is of the type ActiveX Variant. When I use variant to data node I'm able to convert the data to the corresponding data type. Howevere in my application the dat

  • Deleted default camera, how do i get it back ?

    ^^

  • PHOTOSHOP ELEMENTS ON A NOTEBOOK?

    I AM HOPING I CAN RUN PHOTOSHOP ELEMENTS 7 ON A SMALL LIGHT NOTEBOOK TO TAKE ON 'PHOTO SAFARI'... WILL THAT SOFTWARE WORK ON THE TII5D-S1120 WITH 1.6GHz/2GB/250GB?