I have not written in a long time. Until early this year, I have been supporting a client still running a highly customized Maximo 7.5. There were some interesting problems come up, especially as the browsers remove support for Java. Maximo 7.5 uses Java for Workflow editing and Direct Print. I didn't think I had much to share as the world moved on to later versions of Maximo.
My new position has me working with Maximo 7.6 and MAS8. I should have more to write about.
Preventing User Logins
I have recently been working on a problem where I want to prevent users from logging into a Maximo node after startup while some complex initialization takes place within the Maximo JVM. I want the same behaviour as placing Maximo into Admin Mode without actually doing that. This snippet of code will do that.
// grab the SECURITY service.This will prevent new users from logging in but will not log out users who are currently logged in.
SecurityService securityService = (SecurityService)MaximoHelper.getService("SECURITY");
// disable user logins
// do what you want to do without user logins
// enable user logins