U can modify the spagobi login page as per your choice. In this post i am going to remove default logic icons just below the login box.
ie. biuser/biuser biadmin/biadmin bidemo/bidemo
For this You need to remove *.png file and need to modify login.jsp file.
step1:
Move to below path and remove *.png file (biuser_icon,biadmin_icon,didemo_icon)
apache-tomcat-7.0.59\webapps\SpagoBI\themes\sbi_default\img\wapp
Step 2
Now move to path "apache-tomcat-7.0.59\webapps\SpagoBI\themes\sbi_default\jsp\login.jsp"
Go to line numner 361
delete below code from login.jsp file
ie. biuser/biuser biadmin/biadmin bidemo/bidemo
For this You need to remove *.png file and need to modify login.jsp file.
step1:
Move to below path and remove *.png file (biuser_icon,biadmin_icon,didemo_icon)
apache-tomcat-7.0.59\webapps\SpagoBI\themes\sbi_default\img\wapp
Step 2
Now move to path "apache-tomcat-7.0.59\webapps\SpagoBI\themes\sbi_default\jsp\login.jsp"
Go to line numner 361
delete below code from login.jsp file
<tr>
<td align="center"><a href="#"
onclick="setUser('biuser','biuser'); login.submit()"><img
src='<%=urlBuilder.getResourceLinkByTheme(request, "/img/wapp/biuser_icon.png", currTheme)%>'
width='68px' height='47px' />
</a></td>
<td align="center"><a href="#"
onclick="setUser('bidemo','bidemo'); login.submit()"><img
src='<%=urlBuilder.getResourceLinkByTheme(request, "/img/wapp/bidemo_icon.png", currTheme)%>'
width='75px' height='47px' />
</a></td>
<td align="center"><a href="#"
onclick="setUser('biadmin','biadmin'); login.submit()"><img
src='<%=urlBuilder.getResourceLinkByTheme(request, "/img/wapp/biadmin_icon.png", currTheme)%>'
width='69px' height='47px' />
</a></td>
</tr>
<tr>
<td align="center"><a href="#"
onclick="setUser('biuser','biuser'); login.submit()"><b>biuser/biuser</b>
</a></td>
<td align="center"><a href="#"
onclick="setUser('bidemo','bidemo'); login.submit()"><b>bidemo/bidemo</b>
</a></td>
<td align="center"><a href="#"
onclick="setUser('biadmin','biadmin'); login.submit()"><b>biadmin/biadmin</b>
</a></td>
</tr>
save and refresh the login page.
Hi,Iam navya I want to remove below links also for security purposes, can u tell how to remove and the path, Iam using SpagoBI5.1,Iam not able to find login.jsp file
ReplyDeleteThankU,
Navya
I think the path and file is same for SpagoBI 5.1 version.. as specified above
ReplyDeleteYes it is. I did and work perfectly
ReplyDelete