Users not logged out after clicking logout button on AR Midtier integrated with Atrium SSO

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Atrium Single Sign On


    COMPONENT:

    BMC Atrium Single Sign On


    APPLIES TO:

    Atrium Single Sign On and Midtier



    DETAILS:

    Please follow the below steps  :

    ALL THE CHANGES NEED TO BE PERFORMED ON MIDTIER MACHINE
    =========================================================
    0) First backup the logout.jsp file in midtier\shared\logout.jsp (Mid-Tier 7604)
    0.1)   create backup of file midtier\shared\loggedout.jsp (Mid-Tier 8.x)


    1) Open (edit) the logout.jsp (loggedout.jsp) from midtier\shared directory


    2) Get the logout URL for your environment


        - Login to SSO console
        - Click on Agent Details
        - Select the agent name & click on Edit
        - It will open "Agent Editor" window, where you will see a box with title "Logout URL"
        - You need to copy this URL into the Step3->window.location.href
        (https://ASSO_HOST_NAME:8443/atriumsso/UI/Logout?realm=BmcRealm)
        

    3) Change the HTML Tag

    FROM

    </style>

    <%@ page contentType="text/html; charset=utf-8"%>
    <link rel="SHORTCUT ICON" href="<%=request.getContextPath() + "/resources/images/favicon.ico"%>">
    <title><%=titleStr%> - <%= MessageTranslation.getLocalizedText(locale, "Logout")%></title><!--;-->
    </head>

    TO add the following code in highlighted color

    </style>
    <script language=javascript>
    function doRedirectForSSO()
    {
    window.location.href = "URL_VALUE_FROM_STEP2";
    }
    </script>

    <%@ page contentType="text/html; charset=utf-8"%>
    <link rel="SHORTCUT ICON" href="<%=request.getContextPath() + "/resources/images/favicon.ico"%>">
    <title><%=titleStr%> - <%= MessageTranslation.getLocalizedText(locale, "Logout")%></title><!--;-->
    </head>

    NOTE: Ensure the Correct HTML Reference is Provided within <href> Tag depending upon the Environment URL


    4) Change the below HTML Tag from

    <body style="background-repeat: no-repeat" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setTimeout(function(){document.body.focus()},0)">

    To

    <body style="background-repeat: no-repeat" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setTimeout(doRedirectForSSO(),0)">


    5) Save the File and Restart the Tomcat Service

    It should work after this.


    Article Number:

    000105209


    Article Type:

    Product/Service Description



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles