Jump to content
Changes to the Jaspersoft community edition download ×

Change the logout link in v7


jeffery.mason
Go to solution Solved by jeffery.mason,

Recommended Posts

I need to point the logout function to a custom html page, or even better would be to just close the current window.  We do not want to show the Jaspersoft login page.

Several posts make refernece to the login.html file, but a file search produces no results.  Any help woul be appreciated.

 

thanks

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You can use the browser F12 console to trace the location of the jsp file but I think it could be in : WEB-INF/decorators/decoratorCommonComponents.jsp 
since there is this line:

"< li id="main_logOut" class="last"><a id="main_logOut_link" href="#"><spring:message code="menu.logout"/></a></li>"

So an example you can try is :

<li id="main_logOut" class="last"><a id="main_logOut_link" href="http://(MYSERVER):PORT/webapp/logout"><spring:message code="menu.logout"/></a></li>

 

Link to comment
Share on other sites

  • Solution

I found a simple solution. In ...CA Business Intelligenceapache-tomcatwebappsjasperserver-proWEB-INFjspmoduleslogin, replace login.jsp with a custom page that contains the desired content.  Easy fix to redirect users somewhere other than the default login page.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...