title: How to detect a user login using Java Service Wrapper
body: <p>I have created a Java application and used <a href="http://wrapper.tanukisoftware.com/doc/english/download.jsp" rel="nofollow">Java Service Wrapper</a> method 3 that implements the <a href="https://wrapper.tanukisoftware.com/doc/english/integrate-listener.html" rel="nofollow">WrapperListener</a> to convert it to a Windows Service. </p>
  
  <p>The <a href="http://wrapper.tanukisoftware.com/jdoc/index.html" rel="nofollow">WrapperManager</a> can be used to identify various events that get raised and caught in the wrapper listener controlEvent function, this includes a user logging off, however doesn't have a user login event. </p>
  
  <p>Is there a way I can detect a user logging in to the system and perform some kind of action in my Java application?
  If not, is there a way to detect a spike in CPU usage that I can use to make an assumption of a user logging in?
  This is required because my application needs to perform some action when a user logs in.</p>