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

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 iview Customization for Webdynpro Java CTRL+ Right Click in Preview

    Hi Team,
    I am able to hide some Web Dynpro UI elements from Portal Content Administration >> Web Dynpro iView >> Preview and by Pressing CTRL+RIGHT CLICK.
    Here I need to understand the concept like how things work in this case. If we hide some UI in Web Dynpro Java iView customization will there not be any RFC/BAPI calls associated with that particular UI
    For Example: Web Dynpro iView is made up of CompA and CompB and I am going to hide the UI associated with CompA. When I invoke the application will there not be any activity like invoking CompA calling associated RFC/BAPI etc related to CompA
    Please help me in understand the concepts and performance implications on this.
    Regards
    Sudhir

    Hi Sudhir,
    Great Question! :-)... I am not 100% sure, but my guess would be that you would still see the associated BAPI/RFC calls since the "hiding" of the fields is purely a UI feature done using the Portal PCD.
    However you can of course test this for your scenario, by running an RFC trace for your user in the ECC system and then run the WDJ application and see if you see the RFC calls or not (more or less depending on the hidden/visible status of your component).
    Hope that helps,
    Simon

  • Standard Portal Reports Customization

    Hi,
    We have a scenario where we need to move KM content and PCD objects between two portals. I am moving the Content through ICE and objects through Transport export/import.
    1. Are there any standard portal tools to check the consistency of the object and content after its gets imported into the target portal.
    2. Is there any log which captures the ICE execution status and records when it ran last with success/failuer status?
    3. Is it possible to customize standard portal reports like 'Link Consistency Report' /'Permissions Report'? If yes, where can I find the code for the same.
    Rgds
    Gulshan

    hi,
    whenevr u r sending data through ale/idoc the data which u sent will only be captured in idoc ,i mean if for example u r sending only 5 fields data using change pointers method hten u will get tht details only in ur corresponding idoc.

  • 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 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

Maybe you are looking for

  • How can I set up an E-mail address?

    Hello, I just buy a mac book. I have created an e-mail address for i chat (mac.com); I want to use the same address to read my E_Mail, therefore I tried several times to set up this new address in the software "Mail" but it does not work. I have see

  • Free Disk Space vs Mac Memory Usage

    Hi, I'm wondering if you might be able to help me - I'm so confused with this issue. I have a MacBook 2008 with an upgraded 320GB HDD, with currently 203GB free disk space. My back up disk is 120GB - perfect for a time machine back up of 117 GB of da

  • Problem while setting background color for jsplit pane

    Hi ALL, i am using jsplit frame inside jframe. i placed jtree inside left jsplit frame. I am not able to set background clolr to jsplit frame. when i hide(jtree.setvisible(false)) jtree is shows default background color.it is not showing backgroun co

  • Will the Panasonic Lumix DMC-TZ10 work with my Intel Core 2 MBP?

    Will the Panasonic Lumix DMC-TZ10 work with my Intel Core 2 MacBook Pro and/or will I have to upgrade OSX & iLife (£122GBP).  Have seen that AVCHDLite is not directly compatible with Mac, but the articles are mostly 2 yrs old the panasonic website pr

  • Google shortcut window in safari

    I'm trying to get the google shortcut window to be set to google.co.uk as opposed to .com on my Laptop? any ideas?