Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I remove the "log out" option from the avatar drop down in Jira (7.12.3)?

Anastasia Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 3, 2019

As part of an ongoing effort to enforce increased security, our agency has combined an Access Management System with our portal. We have use Kantega to implement Kerberos and that is working very well. We originally wanted to edit the logout.jsp to remove the link to login.jsp OR change the login.jsp URL to a hidden URL that can only be accessed by local admins (as this bypasses the AMS and would only be used to troubleshoot issues with AMS or LDAP or both).

Making changes in the logout.jsp as recommended in previous versions (https://community.atlassian.com/t5/Questions/After-logging-out-of-JIRA-we-can-see-the-Log-in-again-link-How/qaq-p/370572 - in which removing

<p>
<ww:text name="'logout.desc.line2'">
<ww:param name="'value0'"><a href="<%= request.getContextPath() %>/login.jsp"></ww:param>
<ww:param name="'value1'"></a></ww:param>
</ww:text>
</p>

from logout.jsp and restarting JIRA did not result in removing that "log in again?" line.

All community advice I could find about redirecting the login.jsp page simply involve removing the login.jsp fields from the dashboard.

It appears that removing the Log out action from the dropdown requires editing the .class file in D:\Atlassian\JIRA\atlassian-jira\WEB-INF\classes\jsp\template\aui

Is that the only way to remove the Log Out option?

 

Does anyone have advice on the least painful way to do this?

 

Thank you!

 

Anastasia

 

2 answers

0 votes
Jon Espen Ingvaldsen Kantega SSO
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2019

Hi @Anastasia Smith

This is a great feature request for something we can build into our SSO add-on. I will forward this input to our development team.

Great to hear that the you are happy with the product and kerberos functionality.

Regards,
-Jon Espen
Kantega SSO


0 votes
Christian Reichert _resolution_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2019

Hi Anastatsia,

one workaround some of our Single Sign On Customers use, is configuring an announcement banner in Jira and putting the following CSS in it:

<style type="text/css">
#log_out {
display:none !important;
}
</style>

That will hide the logout menu item.

Here is how to configure the Anouncement Banner in general - https://confluence.atlassian.com/adminjiraserver071/configuring-an-announcement-banner-802592288.html

The Banner is just a simple way to add custom HTML to every page. 

Cheers,
   Christian

Full disclosure: I work for resolution - the Marketplace Vendor of a Suite of Single Sign On Apps.

Suggest an answer

Log in or Sign up to answer