Clarity PPM1

Expand all | Collapse all

Configure Log out URL

Jump to Best Answer
  • 1.  Configure Log out URL

    Posted 09-09-2019 09:31 AM
    Hi Team,

    We have implemented SSO in Clarity PPM and upon Logout we want to redirect the user to a customized .html page. 
    Currently the .html page is placed under the <server>\CA\Clarity\webroot folder. and is also configured under the <filter-name>Clarity Content Filter</filter-name> <param-value> test.html </param-value> in the web.xml file. 
    Upon making changes in the CSA as follows :- 
    1. Change logout URL - https://<server.com>/test.html
    2. Restart the services - Done

     Launching the URL :- https:// <server.com> and clicking on Log out it redirect me to 404 error stating that :- The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

    Can anyone help?


    ------------------------------
    Thanks,
    Sanjeeb
    ------------------------------


  • 2.  RE: Configure Log out URL

    Posted 09-09-2019 09:54 AM

    Which version is your Clarity?
    I have a recollection of Suman
    posting that starting from version 1x.x that files in the webroot of the server will no longer be launched.

    If my memory serves me correct that solution will not work any more.




  • 3.  RE: Configure Log out URL

    Posted 09-09-2019 11:22 AM
    Great memory Martii

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 4.  RE: Configure Log out URL
    Best Answer

    Posted 09-09-2019 09:56 AM
    Hi Sanjeeb,

    We have secured any files kept under Webroot. Below is the workaround provided however if your custom sso exposed any security breach we are not liable for that.

    1. Stop the PPM services
    2. Take a backup of \\Clarity_HOME\webroot\WEB-INF\Web.xml
    3. Place it outside PPM directory
    4. Look for Clarity Content Filter and add the customized .html

    <filter id="Clarity Content Filter">

    <filter-name>Clarity Content Filter</filter-name>

    <filter-class>com.niku.union.web.filter.ClarityContentFilter</filter-class>

    <init-param>

    <param-name>allowedList</param-name>

    <param-value> customized .html, DefaultPrint.css,FeaturePrint.css,pagebutton-center.png,Login.gif,ajax-impls.js,ajax.js,lookupManagement.js,DefaultScreen.css,DocMgrScreen.css,LinkActions.js,common.js,Theme.css,

    FeatureScreen.css,Feature.css,smallFont.css,spacer.gif,WdgError.gif,Spacer.gif,/timesheet,spacer.png,blue.gif,eMailLogo.gif,workspace.png,

    BOServerStatus.jsp,monitor.jsp,monitor_lite.jsp,common.png,/login,/logoff,min.js,min.css,shortcut.ico,favicon.ico,s.gif,_header.gif,

    cache.js,gantt.js,hook.js,/nu,/app,/nu;sessionid=*,/app;jsessionid=*,.cache.html,hosted.html,pie.htc,/odata*,/odata.v2*,/soap,/sched,/xog,

    /apache*,/wsdl*,/serverstatus*,/test.html,blue.gif,spacer.png,eMailLogo.gif,/,/mobile/*</param-value>

    </init-param>

    </filter>

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 5.  RE: Configure Log out URL

    Posted 09-10-2019 07:04 AM
    Hi Suman,

    Thank you for the steps. I have few clarifications below hope you would be able to address them as well :- 

    1. Which folder should we place the .html file ? Should they be present inside the webroot folder D:\CA\Clarity\webroot\html or anywhere in the D:\CA\Clarity\webroot
    2. Post making the changes in the web.xml file what should be the URL to be configured in the CSA so that upon Logout click the user gets redirected to the customized.html page. 

    Thank You,
    Sanjeeb



  • 6.  RE: Configure Log out URL

    Posted 09-10-2019 07:21 AM
    You can place the file under weberoot, however you will not call the static file you will need to host the file using the web server or you can use clarity app to host the same file and provide the URL like http://clarityserver/filename or you can host the file outside clarity and you will no longer need to make any changes and you can host and provide the URL to that.

    Regards
    Suman Pramanik  


    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 7.  RE: Configure Log out URL

    Posted 09-10-2019 10:33 AM
    Hi Suman,

    Basically we are at support end and not aware of how to deploy the files using PPM. I was trying to search in the support site but not sure if that is helpful. 

    Could you please share the process of how to deploy the files using Clarity Web Application. 



  • 8.  RE: Configure Log out URL

    Posted 09-10-2019 10:43 AM
    Hi Sanjeeb

    The way you are trying is not at all supported i see you raised a case on this too, the best way is to check with your organization if they have a static web page and then you can point this. Keeping the file under webroot is a hack and we generally dont recommend it. 

    Regards
    Suman Pramanik

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------