Redirect logoff page of sap portal

Hi, I need to redirect to a custom page when I logoff from my sap portal. How can I do it?THANKS

Hi Andrea,
you also can do someting like this.
  if (WDPortalUtils.isRunningInPortal()) {
               WDClientUser.forceLogoffClientUser(urlredirect);
          } else {
               wdThis.wdGetSetpwdWindowInterfaceViewController().wdFirePlugPlugExit(urlredirect);
in the urlredirect = <Url where you want to go >
regards
Gunter

Similar Messages

  • SAP  Portal  unable to recognize  AD requirement to change initial password

    Hi,
    We configured Active Directory server (2008 R2) as UME for SAP Portal (Netweaver 7.01  SP7).  We matched as many of the security parameters as possible* (ex.  minimum password length, require one number in password, etc.).  The AD parameter "User must change password at Next logon" is set ON.  However, upon attempt to login to SAP Portal with the initial password that was set in AD we are not prompted to change the password.  Rather, the SAP Portal logon attempt fails with message:  "Authentication Denied"
    Has anyone dealt with this problem before?
    Other information: 
    *Our MarketPlace researched indicated that the SAP Portal parameter "ume.ldap.security_policy.password_change_required" (which would correspond to the AD parameter mentioned above) is no longer an available parameter for our SAP Portal version (Netweaver 7.01  SP7).
    In our version of SAP Portal, the AD parameter "User must change password at Next logon" has one parameter which is similar, but does not directly correspond.  The SAP Portal parameter which we do have is "No password change required".  Notice this is the logical opposite of the AD parameter:  AD says to require the password, whereas SAP Portal says it's NOT required.  Therefore, when the AD parameter is set to ON, this results in the Portal parameter being set to OFF.  Even still, we face the login failure.

    You have to note here that implementing SAP IDM is only ONE of the possible options you have. The implementation of IDM in itself is a huge undertaking because of the number of systems and the decision making process involved with it.
    In one of my previous implementations, when SAP IDM was not around, we had Tivoli Access Management tools which took care of the password problems.
    even though we implement IDM and deploy IDM UI on Portal , still user should change password before it expires on AD right ?
    Even with IDM in place, user will not be able to login to SAP portal with an expired AD password. However, in our case, we provide a link on the logon page of SAP portal to the IDM password self service application which will allow the user to change the password.
    Does IDM has any feature like sending notifications before password expiration period ?
    I don't think it does - however I have not explored this option in IDM since most of our users do not have email addresses and we cannot send a reminder. You should be able to create a task (with some customization) in IDM to achieve this.
    Also will the IDM implementation help us in creating users with option "User should change password at next logon" on AD ?
    Yes - IDM does create users with option "User should change password at next logon" in AD.
    With IDM in place and tied to AD, it should be the central place of creating users. It is recommended NOT to create or manipulate the users in any target systems (SAP, AD, etc). IDM should be taking care of all the user provisioning activities.
    is this like a work around to allow users to change password from Portal before it gets expired on Active Directory(AD) ?
    This is not a work around - it is rather a full blown identity management solution for all your company needs.
    You will get a lot of your IDM specific questions answered in the Identity Management forum.
    Thanks,
    Shanti

  • How to use Google Tool Bar using web Services in SAP Portal

    Hi,
    I created a HTML Page in SAP Portal project. I want to incorporate <b>Google Toolbar using web services in my HTML Page.</b>
    Please suggest/ tutorial/ codes how to implement this ?
    Thanks in Advance,
    Anmol

    solved

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

  • SAP portal /index.html redirection

    Hi.
    My question is easy, or should do I guess, but I'm looking around and don't find it:
    Can be changed the automatic redirection that happens in the SAP portal when you enter:
    http\s://myportal.mydomain.com:<port>
    and it goes directly to:
    http\s://myportal.mydomain.com:<port>/index.html
    I would like it to be changed so the redirection goes to
    http\s://myportal.mydomain.com:<port>/irj/portal (or just /irj)
    I'm sure there must be soma way to configure it, I've been looking around visual administrator and config tool but didn't found any property that defines is...
    Thanks in advance and regards.

    Hi Olivier,
    and that's (or: should be) best practice.
    Don't touch the standard portal /index.html or start page. Only makes an upgrade more difficult.
    A reverse proxy is meant for this. Hope that one day SAP will automatically install a WebDispatcher together with the portal. Would eliminate a lot of questions like:
    - http://server/ instead of http://server:50000
    - how to do load balancing
    - how to show a maintenance page
    br,
    Tobias

  • Dynamic Text in SAP portal login page

    Hi All,
    I want to display some text information in the SAP Portal login page.Is it possible to display dynamic text in the login page?
    Can anybody help in this?
    Regards,
    V Karthi

    Check the following links as well.
    [Customizing Portal Login Page;
    [Portal Login Page Customization;
    Check all 3 weblogs.
    Regards
    Puneet

  • How to disable right click on SAP portal login page

    Hi,
    How to disable right click on SAP portal login page. Our requirement is one should not be able to right click -
    >view source. on the portal login page.
    Best Regars,
    Tushar

    Hi Tchanvan,
    If you search google with "javascript disable right click" you will get loads of javascript code. This will also help you to gain knowledge.
    @Explanation to last post : You need to import standard logon par file in NWDS. Create javascript file to disable right click and then include this file in your logon page. i think login page name is portalLogin.jsp and then deploy this new PAR file.
    regards,
    Jigar Oza

  • How can i redirect a page to Login screen when sessionis timeout???

    I have a problem in my portal development.
    I set the "<b>Session timeout= 01</b>" parameter in the<b> Visual Administrator</b>
    server_0 > services > Web Container
            Runtime > sap.com/irj  > irj    (view button)
    However, when the session is timeout then the page become to be "red"!!! That is, there is an Exception. I'd like to redirect the page to the "Login screen", but I don't know how. <b>Does anybody know how can I do it</b>?
    Thanks in advance.

    Hi,
        the http session invalidation must be checked at application level  do it DYNPAGE only .you can call the following method.
    public void expireSession(IPortalComponentRequest request)
              long lastAccessedTime=request.getServletRequest().getSession().getLastAccessedTime();
              Date currentDate = new Date();
              Calendar currentDateCal = new GregorianCalendar();
              currentDateCal.setTime(currentDate);
              long systemTime = currentDateCal.getTimeInMillis();          
              long sessionExpiryTime = systemTime - lastAccessedTime;
              long sessionExpiryTimeProp = 600000; //dont hard code.get from property file
              if(sessionExpiryTime >= sessionExpiryTimeProp)
                   try
                       IPortalComponentResponse response=(IPortalComponentResponse)this.getResponse();                    
                        String sessionExpiryPage ="/irj/servlet/prt/portal/prtroot/com.sap.portal.masthead.LogOutComponent?logout_submit=true";                    
                        response.write ("<script language="javascript">");
                        response.write("parent.window.location.replace('"+sessionExpiryPage+"','','toolbar:No,status: No,location: N0');");
                        response.write("</script>");
                   }catch(Exception e)     

  • Logoff page in different languages - transaction SICF

    Hi,
    In transaction SICF i configured a Logoff page according to: http://help.sap.com/saphelp_nw04s/helpdata/en/fc/04a5421935c511e10000000a1550b0/content.htm
    My logoff script works fine in the default language of my application. When I access my application in another language and want to logoff then my logoff script is not called. I have tried to maintain the service via the language button in SICF but without any luck.
    Hope anyone can help.
    Thanks,
    Regards,
    Morten

    Hi Holger,
    Thanks. I have created URL iView using application integrator. In the step 2 of Iview creation wizard, I have selected Generic.
    The entire list is
    Choose Portal Component: *
         BSP
         BWReport
         ContentIntegrator
         CrystalReport
         DNRObject
         Generic
         IAC
         MiniApp
         RemoteRedirector
         TestIViewURLGenerator
         Transaction
         WebDynpro
    After this, I have finished all steps of iView creation. When I am running iView, it is asking for some parameters. I am providing some URL and it is working fine.
    In your email, you have asked me to configure the Application Integrator iViews. The parameter I have to use is <Request.Language>. I tried a lot to find this parameter. I can not find it any where in iView property. Can you please let me know where exactly I have to alter value for language.
    Few more question - How the iView will work? When it will ask for language. Based on userid, I want to change the language of iView content. How it can be acheived?
    Will URL iView will work for secured connection URLs like https://www.somename.com:50000/irj/portal.
    Whether NetWeaver Developer Studio (NWDS) will be needed for carrying out this exercise? We don't have NWDS installed for our project.
    Thanks
    Stuart

  • After log into SAP Portal, Terms&Conditions Window should open

    Hi Team,
    As per one of the requirement in my project, i have to develop below applicaiton.
    Requirement: Once user logged into portal & trying to access his role first time in a year, Terms & condtions window should open, once user accepted the terms& condtions,  user can access his role. if user entered into portal second time in a year, direclty can access his roles.
    For this: i have created webdynpro-java application with empty view & portal abstract portal component with terms & conditions text, then i have created  portal Iviews for both webdynpro-java application and abstract portal comonent, then i am calling abstract portal component Iview into webdynpro-java component controller wdDoinit() method via  WDPortalNavigation.navigateAbsolute() method. 
    Finally, i have assingned webdypro-java ivew to Test Role: once click on role it is calling Terms&Conditions pop window.
    Questions: 
    1. how can i use same Iview in user actual role, i mean, once user click on his role first time terms & codition window should open? after accepting terms & condtions only his role can access...
    2. how can i navigate from terms & condtions to his role?
    3. if user didn't accept terms&conditions, he can't access his roles, how can i handle this?
    4. how can i check, if it is user first login into portal or not in a year ? where i have to store this user data? what are the parameters i have to use?
    can you please help me on this?
    Thanks
    Sandeep.

    sandeep kumar wrote:
    > 1. how can i use same Iview in user actual role, i mean, once user click on his role first time terms & codition window should open? after accepting terms & condtions only his role can access...
    > 2. how can i navigate from terms & condtions to his role?
    > 3. if user didn't accept terms&conditions, he can't access his roles, how can i handle this?
    > 4. how can i check, if it is user first login into portal or not in a year ? where i have to store this user data? what are the parameters i have to use?
    I would redefine com.sap.portal.navigation.portallauncher.default component for your purpose
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/42c08f81ce2152e10000000a114a6b/content.htm
    so WDJ is not really an option here.
    To store whether display T&C screen you can use custom attribute on user profile 
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/44/0316d50bbe025ce10000000a1553f7/content.htm
    public class MyPortalLauncher extends PortalLauncher
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              INodeList nodeList = request.getNode().getChildNodes();
              if(nodeList != null && nodeList.item(0) != null)
    //Check value in user profile whether he accepted T&C this year
    //if no - navigate to T&C page
                   IResource jspResource = request.getResource("jsp", "jsp/termsAndConditions.jsp");
                   response.include(request, jspResource);
    //else - process as usuall
                   response.include(request, nodeList.item(0));
              else
                   IResource jspResource = request.getResource("jsp", "jsp/noRoles.jsp");
                   response.include(request, jspResource);
    //implement
    public void onAcceptClick() throws PageException
    //set user attribute value if accepted, logoff is rejected

  • Help link in SAP portal

    Hello Portal Guru,
    I need to change the url of help link which is next to logoff in the top right of SAP portal. I thought it is on masthead iview. But it is not. Could anyone here help me to find the souce of the link please? Thanks.
    Bai

    Dear
    Masthead: contains branding elements, user identification, and the appropriate (based on the portal configuration) function links, such as Help, Personalize, New Session, Log Off, and Log On.A link can be displayed or hidden by setting the Show Link in Masthead: <Link Name> navigation property of the Masthead iView.The Help link, by default, launches SAP Help Portal. You can customize the URL so that the link goes to a site of your choosing.
    In the Portal Content, go to Portal Users -> Standard Portal Users ->Default Framework Page -> Masthead iView. Open the Masthead iView in the Property Editor, and in the Help Link URL property, enter the URL of the site you want launched when the user clicks the Help link.
    Hope I will solve ur problem
    Thanks
    Keshari

  • BI4 Logoff page customizations

    Hi,
    We are planning to customize logoff page, I have developed a HTML page which gives option to users to click 'Ok' to relaunch BI page or 'Cancel' to close window. so how can I embed this page to logoff page.
    I tried mapping this page in BIlaunchpade.properties file like below but it's not working
    url.exit=C:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps\BOE\WEB-INF\BILogoff.html
    Can you please advise how to implement this.
    Thanks,
    Mani

    Now I am able to redirect the logoff page to custom page. below document helped to correct the issue.
    Browser close with BI 4 - BI Launch Pad log off
    Thanks,
    Mani

  • SSO to J2EE application from SAP Portal

    Hi
    I am trying to do SSO from SAP Portal to a J2EE engine which runs on SAP Web AS.
    Here are my queries
    1. When I deploy a J2EE application on Web AS , I dont get any login screen. How can I make sure that if a user wants to access this J2EE application he should get a login screen and provide his login credentials first, only then would he be able to access the J2EE application.
    2.When I am done with Part 1. If a user tries to access this J2EE application from the Portal (asuming the user Id's in Portal and J2EE application are same and both are in the same domain) , I should not get any login screen and should be able to view the J2EE application.
    3.I want to use SAP Logon tickets generated by the Portal to enable SSO.
    I have done all the necessary configurations in the J2EE server.
    1. Imported the Portal's verify.der certificate.
    2. Adjusted the login modules stack for the application accordingly.
    Can anyone please help me out with this or throw some light.
    Please help.
    Thanks in advance,
    Vivek
    PS - Points will be definitely rewarded

    Hi Vivek,
    Let me give you the solution for both questions differently.
    <b>Ques 1. When I deploy a J2EE application on Web AS , I dont get any login screen. How can I make sure that if a user wants to access this J2EE application he should get a login screen and provide his login credentials first, only then would he be able to access the J2EE application.</b>
    <b>Ans:</b> For doing this in the code of your J2EE application you have to write a if statement which will check if the user ID is coming from the backend or not. If yes then you display that logon page else you just pass that username which is coming from backend and displ;ay the page accordingly.
    <b>Ques 2.When I am done with Part 1. If a user tries to access this J2EE application from the Portal (asuming the user Id's in Portal and J2EE application are same and both are in the same domain) , I should not get any login screen and should be able to view the J2EE application.</b>
    <b>Ans:</b> Yes, this is what I am explaining you. Even I had also made same kind of J2EE application in which if the user is coming from the backend then he/she will look the J2EE screen else if the username is not coming then he will se the Login screen. Exactly same as what are looking for.
    <b>3.I want to use SAP Logon tickets generated by the Portal to enable SSO.</b>
    <b>Ans:</b> I have used User Mapping instead of SAP Logon ticket. Well that is also the option for SSO but personally I think User Mapping is easy and better way for implementing SSO.
    I dont know whether this will help you or not. Please let me know. I can definately help if you want to implement SSO using User Maping.
    Regards
    Pravesh
    PS: Please dont forget to reward points.

  • Iviews not working in SAP Portal in DHTML viewer

    Hi
    We are using BOXI 3.0 with SAP Integration Kit with SAP R/3 and SAP Portal.We are implementing Single Sign On from SAP Portal to BOXI 3.0 and have created few iviews in SAP Portal pointing to the reports in BOXI 3.0.
    The Single Sign On works fine when the viewer in the Iview is selected as Java or Activex Viewer but goes in the logon loop when the viewer is selected as html_frame(i.e dhtml viewer).Have followed the installation and user guides very closely as well.Any help will be greatly appreciated.
    Thanks and Regards
    Kamal

    Hi Ji
    Thanks for your reply.Yes we are using the master iview templates provided in the XI R3 media.
    There are few things noticed in this case which I would like to point out:
    1)Our environment is a distributed environment where Server 1 is the BO Server and Server 2 is the Web Server.
    2)When we are trying to the run the sample iviews(Alert and Thumbnail) we are getting the error as below:
    "Error: Server not found or server maybe down (FWM 01003) null"
    Point to note here is that this error is reproduced when the CMS System is selected/entered wrongly but how come the message is showing Server02 which is the webserver instead of Server01.
    3)When we trying to run Iview template it is redirected to login loop where the SAP Authentication is not seen.
    Regards
    Kamal

  • How to show a crystal report in a SAP Portal?

    Hi
    I am trying to show a crystal report in SAP Portal. I did a crystal enterprise report iview, and in SAP portal I got this error when I trying to show it:
    404 Missing Page
    The page you requested is not available on this web server for one of the following reasons:
    The address you typed may be inaccurate. For example, a character was missing. To correct this issue, double-check the address and make sure that it is spelled correctly.
    If you clicked on a link or button, the web application that generates this link may be experiencing a temporary problem. Close and restart your browser and try the link again at a later time.
    Then I test ce_url service, and got this error:
    Service cannot be reached
    What has happened?
    URL http://portalsap:8002/sap/bw/sap-client=100_cmsname=ipmachinebo call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BTP with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:mars_BTP_02-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    I reviewed a Ingo's blog, and I have the configuration like he mentioned. With this handler
    /CRYSTAL/CL_BW_HTTP_HANDLER
    In http tab, I have
    Protocol: http
    Web server host and port: ipmachinebo:8080
    Path: SAP
    Viewer application: reportView.do
    can someone help me please?
    Regards,
    Paulina

    Hi Ingo
    Thank you for your response,
    I changed the 2 items, but I got this error when I executed the report in portal
    HTTP Status 400 - Invalid path /viewreport was requested
    type Status report
    message Invalid path /viewreport was requested
    description The request sent by the client was syntactically incorrect (Invalid path /viewreport was requested).
    And  when I tested the ce_url service I got this error:
    Service cannot be reached
    What has happened?
    URL http://mars.penitus.com:8002/sap/bw/sap-client=100_cmsname=192.168.0.35 call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BTP with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:mars_BTP_02-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    Regards,
    Paulina

Maybe you are looking for